ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / HatchBrush Class / HatchBrush Constructor / HatchBrush Constructor(HatchStyle,Color)
A HatchStyle indicate the drawing style of Brush
A System.Drawing.Color indicate the foreground color of the device on which be drawed

In This Topic
    HatchBrush Constructor(HatchStyle,Color)
    In This Topic
    Initialize a new instance of the HatchBrush class
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal style As HatchStyle, _
       ByVal foregroundColor As Color _
    )
    public HatchBrush( 
       HatchStyle style,
       Color foregroundColor
    )

    Parameters

    style
    A HatchStyle indicate the drawing style of Brush
    foregroundColor
    A System.Drawing.Color indicate the foreground color of the device on which be drawed
    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