Class ButtonAdvVisualStyle
Represents the class to define the style for ButtonAdv control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ButtonAdvVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ButtonAdvVisualStyle()
Initializes a new instance of the ButtonAdvVisualStyle class.
Declaration
public ButtonAdvVisualStyle()
ButtonAdvVisualStyle(ButtonAdvStyleInfoIdentity)
Initializes a new instance of the ButtonAdvVisualStyle class.
Declaration
public ButtonAdvVisualStyle(ButtonAdvStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
ButtonAdvStyleInfoIdentity | identity | A ButtonAdvStyleInfoIdentity that holds the identity for this ButtonAdvStyleInfoStore. |
ButtonAdvVisualStyle(ButtonAdvStyleInfoIdentity, StyleInfoStore)
Initializes a new instance of the ButtonAdvVisualStyle class.
Declaration
public ButtonAdvVisualStyle(ButtonAdvStyleInfoIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ButtonAdvStyleInfoIdentity | identity | A ButtonAdvStyleInfoIdentity that holds the identity for this ButtonAdvStyleInfoStore. |
StyleInfoStore | store | Holds instance of a ButtonAdvStyleInfoStore class |
ButtonAdvVisualStyle(ButtonAdvStyleInfoStore)
Initializes a new instance of the ButtonAdvVisualStyle class.
Declaration
public ButtonAdvVisualStyle(ButtonAdvStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ButtonAdvStyleInfoStore | store | Holds instance of a ButtonAdvStyleInfoStore class. |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in default state.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the button. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in default state.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the button. The default value is null. |
DefaultStyle
Gets the default style value for the ButtonAdv control.
Declaration
public static ButtonAdvVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
ButtonAdvVisualStyle |
DisabledBackColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledBorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledForeColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in focused state.
Declaration
[ThemeStudio]
public Color DisabledForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the button. The default value is null. |
Font
Gets or sets the System.Drawing.Font value of the System.Windows.Forms.Button control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in focused state.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the button. The default value is null. |
HoverBackColor
Declaration
[ThemeStudio]
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBorderColor
Declaration
[ThemeStudio]
public Color HoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverForeColor
Gets or sets the System.Drawing.Color value used to draw the font of the ButtonAdv control in hover state.
Declaration
[ThemeStudio]
public Color HoverForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the font of the button. The default value is null. |
PressedBackColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in pressed state.
Declaration
[ThemeStudio]
public Color PressedBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the button. The default value is null. |
PressedBorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonAdv control in pressed state.
Declaration
[ThemeStudio]
public Color PressedBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border of the button. The default value is null. |
PressedForeColor
Gets or sets the System.Drawing.Color value used to draw the font of the ButtonAdv control in pressed state.
Declaration
[ThemeStudio]
public Color PressedForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the font of the button. The default value is null. |
Methods
GetDefaultStyle()
Gets the default style value of the System.Windows.Forms.ComboBoxStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |