Class TextBoxExtVisualStyle
Represents a class to define the style for the TextBoxExt control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class TextBoxExtVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
TextBoxExtVisualStyle()
Initializes a new instance of the TextBoxExtVisualStyle class.
Declaration
public TextBoxExtVisualStyle()
TextBoxExtVisualStyle(TextBoxExtStyleInfoIdentity)
Initializes a new instance of the TextBoxExtVisualStyle class.
Declaration
public TextBoxExtVisualStyle(TextBoxExtStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
TextBoxExtStyleInfoIdentity | identity | A TextBoxExtStyleInfoIdentity that holds the identity for this TextBoxExtStyleInfoStore. |
TextBoxExtVisualStyle(TextBoxExtStyleInfoIdentity, TextBoxExtStyleInfoStore)
Initializes a new instance of the TextBoxExtVisualStyle class.
Declaration
public TextBoxExtVisualStyle(TextBoxExtStyleInfoIdentity identity, TextBoxExtStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TextBoxExtStyleInfoIdentity | identity | A TextBoxExtStyleInfoIdentity that holds the identity for this TextBoxExtStyleInfoStore. |
TextBoxExtStyleInfoStore | store | Holds instance of a TextBoxExtStyleInfoStore class |
TextBoxExtVisualStyle(TextBoxExtStyleInfoStore)
Initializes a new instance of the TextBoxExtVisualStyle class.
Declaration
public TextBoxExtVisualStyle(TextBoxExtStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TextBoxExtStyleInfoStore | store | Holds instance of a TextBoxExtStyleInfoStore class. |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the TextBoxExt control in the default state.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the back color of the TextBoxExt. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the TextBoxExt control in the default state.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border color of the TextBoxExt. The default value is null. |
CornerRadius
Declaration
[ThemeStudio]
public int CornerRadius { get; set; }
Property Value
Type |
---|
System.Int32 |
DefaultStyle
Gets the default style value for the TextBoxExt control.
Declaration
public static TextBoxExtVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
TextBoxExtVisualStyle |
DisabledBackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the TextBoxExt control in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled back color of the TextBoxExt. The default value is null. |
DisabledBorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the TextBoxExt control in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled border color of the TextBoxExt. The default value is null. |
DisabledForeColor
Gets or sets the System.Drawing.Color value used to draw the fore color of the TextBoxExt control in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled fore color of the TextBoxExt. The default value is null. |
FocusedBorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the TextBoxExt control in the focussed state.
Declaration
[ThemeStudio]
public Color FocusedBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the focussed border color of the TextBoxExt. The default value is null. |
Font
Gets or sets the System.Drawing.Font value of the TextBoxExt control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the System.Drawing.Color value used to draw the fore color of the TextBoxExt control in the default state.
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the fore color of the TextBoxExt. The default value is null. |
HoverBorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the TextBoxExt control in the hover state.
Declaration
[ThemeStudio]
public Color HoverBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the hover border color of the TextBoxExt. 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 class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |