Class ToggleButtonVisualStyle
Represents the class to define the style for ToggleButton control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ToggleButtonVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ToggleButtonVisualStyle()
Initializes a new instance of the ToggleButtonVisualStyle class.
Declaration
public ToggleButtonVisualStyle()
ToggleButtonVisualStyle(ToggleButtonStyleInfoIdentity)
Initializes a new instance of the ToggleButtonVisualStyle class.
Declaration
public ToggleButtonVisualStyle(ToggleButtonStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
ToggleButtonStyleInfoIdentity | identity | A ToggleButtonStyleInfoIdentity that holds the identity for this ToggleButtonStyleInfoStore. |
ToggleButtonVisualStyle(ToggleButtonStyleInfoIdentity, ToggleButtonStyleInfoStore)
Initializes a new instance of the ToggleButtonVisualStyle class.
Declaration
public ToggleButtonVisualStyle(ToggleButtonStyleInfoIdentity identity, ToggleButtonStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ToggleButtonStyleInfoIdentity | identity | A ToggleButtonStyleInfoIdentity that holds the identity for this ToggleButtonStyleInfoStore. |
ToggleButtonStyleInfoStore | store | Holds instance of a ToggleButtonStyleInfoStore class |
ToggleButtonVisualStyle(ToggleButtonStyleInfoStore)
Initializes a new instance of the ToggleButtonVisualStyle class.
Declaration
public ToggleButtonVisualStyle(ToggleButtonStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ToggleButtonStyleInfoStore | store | Holds instance of a ToggleButtonStyleInfoStore class. |
Properties
ActiveBackColor
Gets or sets the active background color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color ActiveBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ActiveBorderColor
Gets or sets the active border color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color ActiveBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ActiveForeColor
Gets or sets the active fore color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color ActiveForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ActiveHoverBackColor
Gets or sets the active hover background color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color ActiveHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ActiveHoverBorderColor
Gets or sets the active hover border color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color ActiveHoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderThickness
Gets or sets the border thickness to draw the border of the ToggleButton control.
Declaration
[ThemeStudio]
public int BorderThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
DefaultStyle
Gets the default style value for the ToggleButton control.
Declaration
public static ToggleButtonVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
ToggleButtonVisualStyle |
DisabledBackColor
Gets or sets the disabled background color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledBorderColor
Gets or sets the disabled border color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledForeColor
Gets or sets the disabled fore color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color DisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Gets or sets the Font of the ToggleButton control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
InActiveBackColor
Gets or sets the inactive background color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color InActiveBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
InActiveBorderColor
Gets or sets the inactive border color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color InActiveBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
InActiveForeColor
Gets or sets the inactive fore color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color InActiveForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
InActiveHoverBackColor
Gets or sets the inactive hover background color of the ToggleButton control.
Declaration
[ThemeStudio]
public Color InActiveHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
InActiveHoverBorderColor
Gets or sets the inactive hover border color of the ToggleButton control in hover state.
Declaration
[ThemeStudio]
public Color InActiveHoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ToggleButttonSliderStyle
Gets or sets style for Slider of the ToggleButton control.
Declaration
[ThemeStudio]
public ToggleButtonSliderStyleInfo ToggleButttonSliderStyle { get; set; }
Property Value
Type |
---|
ToggleButtonSliderStyleInfo |
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. |