ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / BackgroundMode Property

In This Topic
    BackgroundMode Property
    In This Topic
    Gets or sets the background mode of the device context.
    Syntax
    'Declaration
     
    
    Public Property BackgroundMode As BackgroundMode
    public BackgroundMode BackgroundMode {get; set;}

    Property Value

    A BackgroundMode structure that indicates the background mode of the device context.
    Remarks

    The BackgroundMode affects the line styles for lines drawn using a pen created by the CreatePen GDI API function. The BackgroundMode does not affect lines drawn using a pen created by the ExtCreatePen GDI API function.

    value parameter can also be set to driver-specific values. GDI passes such values to the device driver and otherwise ignores them.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also