Class TreeMenuItemStyleInfo
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TreeMenuItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
TreeMenuItemStyleInfo()
Initializes a new instance of the TreeMenuItemStyleInfo class.
Declaration
public TreeMenuItemStyleInfo()
TreeMenuItemStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the TreeMenuItemStyleInfo class.
Declaration
public TreeMenuItemStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A TreeMenuItemStyleInfoIdentity that holds the identity for this TreeMenuItemStyleInfoStore. |
TreeMenuItemStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the TreeMenuItemStyleInfo class.
Declaration
public TreeMenuItemStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A TreeMenuItemStyleInfoIdentity that holds the identity for this TreeMenuItemStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the background color of the TreeMenuItem 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 TreeMenuItem. |
DefaultStyle
Gets the default style value for the TreeMenuItem control.
Declaration
public static TreeMenuItemStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
TreeMenuItemStyleInfo |
DisabledBackColor
Gets or sets the background color of the TreeMenuItem 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 TreeMenuItem control in disabled state.
Declaration
[ThemeStudio]
public Color DisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Gets or sets the System.Drawing.Font value of the TreeMenuItem control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the fore color value of the TreeMenuItem control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBackColor
Gets or sets the background color of the TreeMenuItem 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 TreeMenuItem 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 TreeMenuItem 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 TreeMenuItem. |
PressedForeColor
Gets or sets the fore color value of the TreeMenuItem 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 TreeMenuItemStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |