Class ButtonEditVisualStyle
Represents the class to define the style for ButtonEdit control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ButtonEditVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ButtonEditVisualStyle()
Initializes a new instance of the ButtonEditVisualStyle class.
Declaration
public ButtonEditVisualStyle()
ButtonEditVisualStyle(ButtonEditStyleInfoIdentity)
Initializes a new instance of the ButtonEditVisualStyle class.
Declaration
public ButtonEditVisualStyle(ButtonEditStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
ButtonEditStyleInfoIdentity | identity | A ButtonEditStyleInfoIdentity that holds the identity for this ButtonEditStyleInfoStore. |
ButtonEditVisualStyle(ButtonEditStyleInfoIdentity, ButtonEditStyleInfoStore)
Initializes a new instance of the ButtonEditVisualStyle class.
Declaration
public ButtonEditVisualStyle(ButtonEditStyleInfoIdentity identity, ButtonEditStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ButtonEditStyleInfoIdentity | identity | A ButtonEditStyleInfoIdentity that holds the identity for this ButtonEditStyleInfoStore. |
ButtonEditStyleInfoStore | store | Holds instance of a ButtonEditStyleInfoStore class |
ButtonEditVisualStyle(ButtonEditStyleInfoStore)
Initializes a new instance of the ButtonEditVisualStyle class.
Declaration
public ButtonEditVisualStyle(ButtonEditStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ButtonEditStyleInfoStore | store | Holds instance of a ButtonEditStyleInfoStore class. |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the ButtonEdit 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 back color of the button. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the ButtonEdit 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 ButtonEdit control.
Declaration
public static ButtonEditVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
ButtonEditVisualStyle |
DisabledBackColor
Gets or sets the System.Drawing.Color value used to draw the disabled back color of the ButtonEdit control in default state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled back color of the button. The default value is null. |
DisabledBorderColor
Gets or sets the System.Drawing.Color value used to draw the disabled border of the ButtonEdit control in default state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled border of the button. The default value is null. |
FocusedBorderColor
Gets or sets the System.Drawing.Color value used to draw the focused border of the ButtonEdit control in default state.
Declaration
[ThemeStudio]
public Color FocusedBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the focused border of the button. The default value is null. |
HoverBorderColor
Gets or sets the System.Drawing.Color value used to draw the hover border of the ButtonEdit control in default state.
Declaration
[ThemeStudio]
public Color HoverBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the hover border of the button. The default value is null. |
PressedBorderColor
Gets or sets the System.Drawing.Color value used to draw the pressed border of the ButtonEdit control in default 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 pressed border of the button. The default value is null. |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |