Class GradientLabelVisualStyle
Represents the class to define the style of GradientLabel control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class GradientLabelVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GradientLabelVisualStyle()
Initializes a new instance of the GradientLabelVisualStyle class.
Declaration
public GradientLabelVisualStyle()
GradientLabelVisualStyle(GradientLabelStyleInfoIdentity)
Initializes a new instance of the GradientLabelVisualStyle class.
Declaration
public GradientLabelVisualStyle(GradientLabelStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
GradientLabelStyleInfoIdentity | identity | A GradientLabelStyleInfoIdentity that holds the identity for this GradientLabelStyleInfoStore. |
GradientLabelVisualStyle(GradientLabelStyleInfoIdentity, StyleInfoStore)
Initializes a new instance of the GradientLabelVisualStyle class.
Declaration
public GradientLabelVisualStyle(GradientLabelStyleInfoIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GradientLabelStyleInfoIdentity | identity | A GradientLabelStyleInfoIdentity that holds the identity for this GradientLabelStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the background color of the GradientLabel control.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the GradientLabel control in default state.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderThickness
Gets or sets the border thickness of GradientLabel.
Declaration
[ThemeStudio]
public int BorderThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
DefaultStyle
Gets the default GradientLabelStyleInfo value.
Declaration
public static GradientLabelVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
GradientLabelVisualStyle |
DisabledBackColor
Gets or sets the fore color value of the items of GradientLabel control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledBorderColor
Gets or sets the fore color value of the items of GradientLabel control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledForeColor
Gets or sets the fore color value of the items of GradientLabel control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Gets or sets the System.Drawing.Font value for the drop down of GradientLabel control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the fore color value of the GradientLabel control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the GradientLabelVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |