ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / BackgroundColor Property

In This Topic
    BackgroundColor Property (DeviceContext)
    In This Topic
    Gets or sets the color of the background of the device context.
    Syntax
    'Declaration
     
    Public Property BackgroundColor As System.Drawing.Color
    public System.Drawing.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