Class CommandBarControllerVisualStyle
Represents the class to define the style for
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CommandBarControllerVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CommandBarControllerVisualStyle()
Initializes a new instance of the CommandBarControllerVisualStyle class.
Declaration
public CommandBarControllerVisualStyle()
CommandBarControllerVisualStyle(CommandBarControllerStyleInfoStore)
Initializes a new instance of the CommandBarControllerVisualStyle class.
Declaration
public CommandBarControllerVisualStyle(CommandBarControllerStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CommandBarControllerStyleInfoStore | store | Holds instance of a CommandBarControllerStyleInfoStore class. |
CommandBarControllerVisualStyle(CommandBarControllerVisualStyleInfoIdentity)
Initializes a new instance of the CommandBarControllerVisualStyle class.
Declaration
public CommandBarControllerVisualStyle(CommandBarControllerVisualStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
CommandBarControllerVisualStyleInfoIdentity | identity | A CommandBarControllerVisualStyleInfoIdentity that holds the identity for this CommandBarControllerStyleInfoStore. |
CommandBarControllerVisualStyle(CommandBarControllerVisualStyleInfoIdentity, CommandBarControllerStyleInfoStore)
Initializes a new instance of the CommandBarControllerVisualStyle class.
Declaration
public CommandBarControllerVisualStyle(CommandBarControllerVisualStyleInfoIdentity identity, CommandBarControllerStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CommandBarControllerVisualStyleInfoIdentity | identity | A CommandBarControllerVisualStyleInfoIdentity that holds the identity for this CommandBarControllerStyleInfoStore. |
CommandBarControllerStyleInfoStore | store | Holds instance of a CommandBarControllerStyleInfoStore class |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the background of the CommandBarController control in pressed 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 background of the command bar. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border of the CommandBarController 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 command bar The default value is null. |
DefaultStyle
Gets the default style value for the CommandBarController control.
Declaration
public static CommandBarControllerVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
CommandBarControllerVisualStyle |
DropDownButtonStyle
Gets or sets style for bar item of the CommandBar control.
Declaration
[ThemeStudio]
public DropDownButtonStyleInfo DropDownButtonStyle { get; set; }
Property Value
Type |
---|
DropDownButtonStyleInfo |
Font
Gets or sets the System.Drawing.Font value of the CommandBar control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
FooterColor
Declaration
[ThemeStudio]
public Color FooterColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ForeColor
Gets or sets style for bar item of the CommandBarController control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
GripperColor
Gets or sets style for gripper item of the CommandBarController control.
Declaration
[ThemeStudio]
public Color GripperColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HeaderColor
Declaration
[ThemeStudio]
public Color HeaderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
IconStyle
Gets or sets style for bar item of the CommandBar control.
Declaration
[ThemeStudio]
public CommandBarIconStyleInfo IconStyle { get; set; }
Property Value
Type |
---|
CommandBarIconStyleInfo |
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. |