Class FontListBoxVisualStyle
Represents the class to define the style of FontListBox control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class FontListBoxVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
FontListBoxVisualStyle()
Initializes a new instance of the FontListBoxVisualStyle class.
Declaration
public FontListBoxVisualStyle()
FontListBoxVisualStyle(FontListBoxStyleInfoIdentity)
Initializes a new instance of the FontListBoxVisualStyle class.
Declaration
public FontListBoxVisualStyle(FontListBoxStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
FontListBoxStyleInfoIdentity | identity | A FontListBoxStyleInfoIdentity that holds the identity for this FontListBoxStyleInfoStore. |
FontListBoxVisualStyle(FontListBoxStyleInfoIdentity, StyleInfoStore)
Initializes a new instance of the FontListBoxVisualStyle class.
Declaration
public FontListBoxVisualStyle(FontListBoxStyleInfoIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
FontListBoxStyleInfoIdentity | identity | A FontListBoxStyleInfoIdentity that holds the identity for this FontListBoxStyleInfoStore. |
StyleInfoStore | store | The store. |
FontListBoxVisualStyle(FontListBoxStyleInfoStore)
Initializes a new instance of the FontListBoxVisualStyle class.
Declaration
public FontListBoxVisualStyle(FontListBoxStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
FontListBoxStyleInfoStore | store | Holds instance of a FontListBoxStyleInfoStore class. |
Properties
BackColor
Gets or sets the background color of the FontListBox control.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Gets or sets the border color of the FontListBox control.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default FontListBoxStyleInfoStore value.
Declaration
public static FontListBoxVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
FontListBoxVisualStyle |
ListItemStyle
Gets or sets style for button of the FontListBox control.
Declaration
[ThemeStudio]
public ListItemStyleInfo ListItemStyle { get; set; }
Property Value
Type |
---|
ListItemStyleInfo |
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 FontListBoxVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |