Class ColorListStyleInfo
Represents the class to define the style for ColorUIControl control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ColorListStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ColorListStyleInfo()
Initializes a new instance of the ColorListStyleInfo class.
Declaration
public ColorListStyleInfo()
ColorListStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ColorListStyleInfo class.
Declaration
public ColorListStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
ColorListStyleInfo(StyleInfoSubObjectIdentity, ColorListStyleInfoStore)
Initializes a new instance of the ColorListStyleInfo class.
Declaration
public ColorListStyleInfo(StyleInfoSubObjectIdentity identity, ColorListStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
ColorListStyleInfoStore | store | A ColorListStyleInfoStore that holds data for this ColorListStyleInfo. All changes in this style object will be saved in the ColorListStyleInfoStore object. |
ColorListStyleInfo(ColorListStyleInfo)
Initializes a new instance of the ColorListStyleInfo class.
Declaration
public ColorListStyleInfo(ColorListStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ColorListStyleInfo | style | The style object that contains the original data. |
ColorListStyleInfo(ColorListStyleInfoStore)
Initializes a new instance of the ColorListStyleInfo class.
Declaration
public ColorListStyleInfo(ColorListStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ColorListStyleInfoStore | store | A ColorListStyleInfo that holds data for this ColorListStyleInfo. All changes in this style object will be saved in the ColorListStyleInfo object. |
Properties
DefaultStyle
Gets the default ColorListStyleInfo value.
Declaration
public static ColorListStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
ColorListStyleInfo |
PaletteBorderColor
Gets or sets the border color of the color palette in list item.
Declaration
[ThemeStudio]
public Color PaletteBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set border color for color palette in list item. |
SelectedItemBackColor
Gets or sets the back color of the list item.
Declaration
[ThemeStudio]
public Color SelectedItemBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set back color for list item. |
SelectedItemForeColor
Gets or sets the fore color of the list item.
Declaration
[ThemeStudio]
public Color SelectedItemForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set fore color for list item. |
Methods
GetDefaultStyle()
Gets the default style value of the ColorListStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |