ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi Namespace / ColorBrush Class

In This Topic
    ColorBrush Class
    In This Topic
    Defines a brush that has a solid color.
    Object Model
    ColorBrush Class
    Public NotInheritable Class ColorBrush 
       Inherits Brush
    public sealed class ColorBrush : Brush 
    This brush has the same funtion as SolidBrush in painting. This brush will not consume gdi handle. In other word, the Handle property is always IntPtr.Zero. So it can not be used to C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.
    Inheritance Hierarchy


    See Also