Class ColorUIControlVisualStyle
Represents the class to define the style for
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ColorUIControlVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ColorUIControlVisualStyle()
Initializes a new instance of the ColorUIControlVisualStyle class.
Declaration
public ColorUIControlVisualStyle()
ColorUIControlVisualStyle(ColorUIControlStyleInfoIdentity)
Initializes a new instance of the ColorUIControlVisualStyle class.
Declaration
public ColorUIControlVisualStyle(ColorUIControlStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
ColorUIControlStyleInfoIdentity | identity | A ColorUIControlStyleInfoIdentity that holds the identity for this ColorUIControlStyleInfoStore. |
ColorUIControlVisualStyle(ColorUIControlStyleInfoIdentity, ColorUIControlStyleInfoStore)
Initializes a new instance of the ColorUIControlVisualStyle class.
Declaration
public ColorUIControlVisualStyle(ColorUIControlStyleInfoIdentity identity, ColorUIControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ColorUIControlStyleInfoIdentity | identity | A ColorUIControlStyleInfoIdentity that holds the identity for this ColorUIControlStyleInfoStore. |
ColorUIControlStyleInfoStore | store | Holds instance of a ColorUIControlStyleInfoStore class |
ColorUIControlVisualStyle(ColorUIControlStyleInfoStore)
Initializes a new instance of the ColorUIControlVisualStyle class.
Declaration
public ColorUIControlVisualStyle(ColorUIControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ColorUIControlStyleInfoStore | store | Holds instance of a ColorUIControlStyleInfoStore class. |
Properties
BackColor
Gets or sets the BackColor of ColorUIControl
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set BackColor of the control. The default value is null. |
ColorListStyle
Gets or sets style for ListBox of the ColorUIControl control.
Declaration
[ThemeStudio]
public ColorListStyleInfo ColorListStyle { get; set; }
Property Value
Type |
---|
ColorListStyleInfo |
ColorPaletteStyle
Gets or sets style for ColorPalette of the ColorUIControl control.
Declaration
[ThemeStudio]
public ColorPaletteStyleInfo ColorPaletteStyle { get; set; }
Property Value
Type |
---|
ColorPaletteStyleInfo |
ColorTabControlStyle
Gets or sets style for ColorTabControl of the ColorUIControl control.
Declaration
[ThemeStudio]
public ColorTabControlStyleInfo ColorTabControlStyle { get; set; }
Property Value
Type |
---|
ColorTabControlStyleInfo |
DefaultStyle
Gets the default style value for the ColorUIControl control.
Declaration
public static ColorUIControlVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
ColorUIControlVisualStyle |
Font
Gets or sets the System.Drawing.Font value of the System.Windows.Forms.Button control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the System.Drawing.Color ForeColor of the ColorUIControl control.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to set ForeColor of the control. The default value is null. |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the System.Windows.Forms.ComboBoxStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |