Input for WinForms | ComponentOne
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / WindowDeviceContext Class / BackgroundColor Property

In This Topic
    BackgroundColor Property (WindowDeviceContext)
    In This Topic
    Gets or sets the color of the background of the device context.
    Syntax
    'Declaration
     
    
    Public Property BackgroundColor As Color
    public Color BackgroundColor {get; set;}

    Property Value

    A System.Drawing.Color structure that indicates the color of the background of the device context.
    Remarks

    If the background mode is BackgroundMode is BackgroundMode.Opaque, the background color is used to fill gaps between styled lines, gaps between hatched lines in brushes, and character cells. The background color is also used when converting bitmaps from color to monochrome and vice versa.

    See Also