Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited.
For a list of all members of this type, see SolidBrush Members.
[Visual Basic] NotInheritable Public Class SolidBrush Inherits Brush [C#] public sealed class SolidBrush : Brush [C++] public __gc __sealed class SolidBrush : public Brush [JScript] public class SolidBrush extends Brush
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
This class inherits from the Brush class.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Drawing (in System.Drawing.dll)