Class ColorPaletteStyleInfo
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 ColorPaletteStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ColorPaletteStyleInfo()
Initializes a new instance of the ColorPaletteStyleInfo class.
Declaration
public ColorPaletteStyleInfo()
ColorPaletteStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ColorPaletteStyleInfo class.
Declaration
public ColorPaletteStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
ColorPaletteStyleInfo(StyleInfoSubObjectIdentity, ColorPaletteStyleInfoStore)
Initializes a new instance of the ColorPaletteStyleInfo class.
Declaration
public ColorPaletteStyleInfo(StyleInfoSubObjectIdentity identity, ColorPaletteStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | The identity. |
ColorPaletteStyleInfoStore | store | A ColorPaletteStyleInfoStore that holds data for this ColorPaletteStyleInfo. All changes in this style object will be saved in the ColorPaletteStyleInfoStore object. |
ColorPaletteStyleInfo(ColorPaletteStyleInfo)
Initializes a new instance of the ColorPaletteStyleInfo class.
Declaration
public ColorPaletteStyleInfo(ColorPaletteStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ColorPaletteStyleInfo | style | The style object that contains the original data. |
ColorPaletteStyleInfo(ColorPaletteStyleInfoStore)
Initializes a new instance of the ColorPaletteStyleInfo class.
Declaration
public ColorPaletteStyleInfo(ColorPaletteStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ColorPaletteStyleInfoStore | store | A ColorPaletteStyleInfo that holds data for this ColorPaletteStyleInfo. All changes in this style object will be saved in the ColorPaletteStyleInfo object. |
Properties
BorderColor
Gets or sets the Border color of the color item.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set border color for color item. |
DefaultStyle
Gets the default ColorPaletteStyleInfo value.
Declaration
public static ColorPaletteStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
ColorPaletteStyleInfo |
SelectedBorderColor
Gets or sets the PressedBorder color of the color item.
Declaration
[ThemeStudio]
public Color SelectedBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set border color for color item. |
Methods
GetDefaultStyle()
Gets the default style value of the ColorPaletteStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |