Class SplitButtonStyleInfo
Represents the class to define the style for SplitButton control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class SplitButtonStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
SplitButtonStyleInfo()
Initializes a new instance of the SplitButtonStyleInfo class.
Declaration
public SplitButtonStyleInfo()
SplitButtonStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the SplitButtonStyleInfo class.
Declaration
public SplitButtonStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A SplitButtonStyleInfoIdentity that holds the identity for this SplitButtonStyleInfoStore. |
SplitButtonStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the SplitButtonStyleInfo class.
Declaration
public SplitButtonStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A SplitButtonStyleInfoIdentity that holds the identity for this SplitButtonStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the background color of the SplitButton control.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the background of the button. |
DefaultStyle
Gets the default style value for the SplitButton control.
Declaration
public static SplitButtonStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
SplitButtonStyleInfo |
DisabledBackColor
Gets or sets the background color of the SplitButton control in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledForeColor
Gets or sets the fore color value of the SplitButton control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
FocusedBackColor
Gets or sets the fore color of the SplitButton control in focused state.
Declaration
[ThemeStudio]
public Color FocusedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
FocusedForeColor
Gets or sets the fore color value of the SplitButton control in focused state.
Declaration
[ThemeStudio]
public Color FocusedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ForeColor
Gets or sets the fore color value of the SplitButton control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBackColor
Gets or sets the background color of the SplitButton control in mouse hover state.
Declaration
[ThemeStudio]
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverForeColor
Gets or sets the fore color value of the SplitButton control in hover state.
Declaration
[ThemeStudio]
public Color HoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBackColor
Gets or sets the background color of the SplitButton 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 fill the background of the button. |
PressedForeColor
Gets or sets the fore color value of the SplitButton control in pressed state
Declaration
[ThemeStudio]
public Color PressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the SplitButtonStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |