ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / ColorBrush Class
Members

In This Topic
    ColorBrush Class
    In This Topic
    Defines a brush that has a solid color.
    Syntax
    'Declaration
     
    
    Public NotInheritable Class ColorBrush 
       Inherits Brush
    public sealed class ColorBrush : Brush 
    Remarks
    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

    System.Object
       System.MarshalByRefObject
          C1.Framework.Drawing.Gdi.GdiObject
             C1.Framework.Drawing.Gdi.Brush
                C1.Framework.Drawing.Gdi.ColorBrush

    See Also