Class ListItemStyleInfo
Represents the class to define the style of ListItems.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ListItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ListItemStyleInfo()
Initializes a new instance of the ListItemStyleInfo class.
Declaration
public ListItemStyleInfo()
ListItemStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ListItemStyleInfo class.
Declaration
public ListItemStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A ListItemStyleInfoIdentity that holds the identity for this ListItemStyleInfoStore. |
ListItemStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the ListItemStyleInfo class.
Declaration
public ListItemStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A ListItemStyleInfoIdentity that holds the identity for this ListItemStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
DefaultStyle
Gets the default ListItemStyleInfo value.
Declaration
public static ListItemStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
ListItemStyleInfo |
DisabledItemBackColor
Gets or sets the disabled item background color of the ListItem.
Declaration
[ThemeStudio]
public Color DisabledItemBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledItemForeColor
Gets or sets the disabled item forecolor of the ListItem.
Declaration
[ThemeStudio]
public Color DisabledItemForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverItemBackColor
Gets or sets the hover item background color of the ListItem.
Declaration
[ThemeStudio]
public Color HoverItemBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverItemForeColor
Gets or sets the hover item forecolor of the ListItem.
Declaration
[ThemeStudio]
public Color HoverItemForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
NormalItemBackColor
Gets or sets the item background color of the ListItem.
Declaration
[ThemeStudio]
public Color NormalItemBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
NormalItemForeColor
Gets or sets the item forecolor of the ListItem.
Declaration
[ThemeStudio]
public Color NormalItemForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedItemBackColor
Gets or sets the pressed item background color of the ListItem.
Declaration
[ThemeStudio]
public Color PressedItemBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedItemForeColor
Gets or sets the pressed item forecolor of the ListItem.
Declaration
[ThemeStudio]
public Color PressedItemForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the ListItemStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |