Struct BorderColors
Specifies the colors used for drawing the GroupBar control's client rectangle borders.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public struct BorderColors
Remarks
The BorderColors structure is used by the GroupBarItem objects in a GroupBar to specify the set of colors used for drawing the borders around the client control. The BorderColors value is set through the ClientBorderColors property.
Constructors
BorderColors(Color, Color, Color, Color)
Creates a new instance of the BorderColors class with the specified colors.
Declaration
public BorderColors(Color left, Color top, Color right, Color bottom)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | left | Left border color. |
System.Drawing.Color | top | Top border color. |
System.Drawing.Color | right | Right border color. |
System.Drawing.Color | bottom | Bottom border color. |
Properties
Bottom
Gets / sets the color used to draw the bottom border.
Declaration
public Color Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | A System.Drawing.Color value. |
Default
Represents a BorderColors instance with the default color values.
Declaration
public static BorderColors Default { get; }
Property Value
Type |
---|
BorderColors |
Empty
Represents a BorderColors instance with empty color values.
Declaration
public static BorderColors Empty { get; }
Property Value
Type |
---|
BorderColors |
Left
Gets / sets the color used to draw the left border.
Declaration
public Color Left { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | A System.Drawing.Color value. |
Right
Gets / sets the color used to draw the right border.
Declaration
public Color Right { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | A System.Drawing.Color value. |
Top
Gets / sets the color used to draw the top border.
Declaration
public Color Top { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | A System.Drawing.Color value. |