Class SplitButtonAdvVisualStyle
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 SplitButtonAdvVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
SplitButtonAdvVisualStyle()
Initializes a new instance of the SplitButtonAdvVisualStyle class.
Declaration
public SplitButtonAdvVisualStyle()
SplitButtonAdvVisualStyle(SplitButtonAdvStyleInfoIdentity)
Initializes a new instance of the SplitButtonAdvVisualStyle class.
Declaration
public SplitButtonAdvVisualStyle(SplitButtonAdvStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
SplitButtonAdvStyleInfoIdentity | identity | A SplitButtonAdvStyleInfoIdentity that holds the identity for this SplitButtonAdvStyleInfoStore. |
SplitButtonAdvVisualStyle(SplitButtonAdvStyleInfoIdentity, SplitButtonAdvStyleInfoStore)
Initializes a new instance of the SplitButtonAdvVisualStyle class.
Declaration
public SplitButtonAdvVisualStyle(SplitButtonAdvStyleInfoIdentity identity, SplitButtonAdvStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
SplitButtonAdvStyleInfoIdentity | identity | A SplitButtonAdvStyleInfoIdentity that holds the identity for this SplitButtonAdvStyleInfoStore. |
SplitButtonAdvStyleInfoStore | store | Holds instance of a SplitButtonAdvStyleInfoStore class |
SplitButtonAdvVisualStyle(SplitButtonAdvStyleInfoStore)
Initializes a new instance of the SplitButtonAdvVisualStyle class.
Declaration
public SplitButtonAdvVisualStyle(SplitButtonAdvStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
SplitButtonAdvStyleInfoStore | store | Holds instance of a SplitButtonAdvStyleInfoStore class. |
Properties
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the SplitButton 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 SplitButton control.
Declaration
public static SplitButtonAdvVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
SplitButtonAdvVisualStyle |
DisabledBorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the SplitButton control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
FocusedBorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the SplitButton control in focused 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 border of the button. The default value is null. |
Font
Gets or sets the System.Drawing.Font value of the SplitButton control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
HoverBorderColor
Declaration
[ThemeStudio]
public Color HoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the SplitButton 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. |
SplitButtonStyle
Gets or sets style for button of the SplitButton control.
Declaration
[ThemeStudio]
public SplitButtonStyleInfo SplitButtonStyle { get; set; }
Property Value
Type |
---|
SplitButtonStyleInfo |
SplitDropDownButtonStyle
Gets or sets style for drop down button of the SplitButton control.
Declaration
[ThemeStudio]
public SplitDropDownButtonStyleInfo SplitDropDownButtonStyle { get; set; }
Property Value
Type |
---|
SplitDropDownButtonStyleInfo |
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 System.Windows.Forms.ComboBoxStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |