Class BarItemStyleInfo
Represents the class to define the style for BarItem control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class BarItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
BarItemStyleInfo()
Initializes a new instance of the BarItemStyleInfo class.
Declaration
public BarItemStyleInfo()
BarItemStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the BarItemStyleInfo class.
Declaration
public BarItemStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A BarItemStyleInfoIdentity that holds the identity for this BarItemStyleInfoStore. |
BarItemStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the BarItemStyleInfo class.
Declaration
public BarItemStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A BarItemStyleInfoIdentity that holds the identity for this BarItemStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the background color of the BarItem 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 bar item. |
BorderColor
Gets or sets the fore color value of the BarItem control.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style value for the BarItem control.
Declaration
public static BarItemStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
BarItemStyleInfo |
DisabledBorderColor
Gets or sets the fore color value of the BarItem control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
FocusedBorderColor
Gets or sets the fore color value of the BarItem control in focused state.
Declaration
[ThemeStudio]
public Color FocusedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Gets or sets the System.Drawing.Font value of the BarItem control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the foreground color of the BarItem control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the foreground of the bar item. |
HoverBackColor
Gets or sets the background color of the BarItem control in mouse hover state.
Declaration
[ThemeStudio]
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBorderColor
Gets or sets the fore color value of the BarItem control in hover state.
Declaration
[ThemeStudio]
public Color HoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverForeColor
Gets or sets the fore color of the BarItem control in mouse hover state.
Declaration
[ThemeStudio]
public Color HoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverTickBorderColor
Declaration
[ThemeStudio]
public Color HoverTickBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverTickColor
Gets or sets the fore color value of the tick mark of the BarItem in hover state.
Declaration
[ThemeStudio]
public Color HoverTickColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBackColor
Gets or sets the background color of the BarItem 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 bar item. |
PressedBorderColor
Gets or sets the fore color value of the BarItem control in pressed state
Declaration
[ThemeStudio]
public Color PressedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedForeColor
Gets or sets the foreground color of the BarItem control in pressed state.
Declaration
[ThemeStudio]
public Color PressedForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the background of the bar item. |
SeparatorColor
Gets or sets the fore color value of the BarItem control.
Declaration
[ThemeStudio]
public Color SeparatorColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
TextBoxForeColor
Gets or sets the fore color of the TextBox control in TextBoxBarItem.
Declaration
[ThemeStudio]
public Color TextBoxForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
TickBorderColor
Declaration
[ThemeStudio]
public Color TickBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
TickColor
Gets or sets the fore color value of the tick mark of the BarItem.
Declaration
[ThemeStudio]
public Color TickColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the BarItemStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |