Class AutoLabelVisualStyle
Represents the class to define the style of AutoLabel control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class AutoLabelVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
AutoLabelVisualStyle()
Initializes a new instance of the AutoLabelVisualStyle class.
Declaration
public AutoLabelVisualStyle()
AutoLabelVisualStyle(AutoLabelStyleInfoIdentity)
Initializes a new instance of the AutoLabelVisualStyle class.
Declaration
public AutoLabelVisualStyle(AutoLabelStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
AutoLabelStyleInfoIdentity | identity | A AutoLabelStyleInfoIdentity that holds the identity for this AutoLabelStyleInfoStore. |
AutoLabelVisualStyle(AutoLabelStyleInfoIdentity, StyleInfoStore)
Initializes a new instance of the AutoLabelVisualStyle class.
Declaration
public AutoLabelVisualStyle(AutoLabelStyleInfoIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
AutoLabelStyleInfoIdentity | identity | A AutoLabelStyleInfoIdentity that holds the identity for this AutoLabelStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the background color of the AutoLabel 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 AutoLabel control in default state.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default AutoLabelStyleInfo value.
Declaration
public static AutoLabelVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
AutoLabelVisualStyle |
DisabledBackColor
Gets or sets the fore color value of the items of AutoLabel 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 AutoLabel 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 AutoLabel 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 AutoLabel control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the fore color value of the AutoLabel control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the AutoLabelVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |