Class IntegerTextBoxVisualStyle
Represents a class to define the style for the IntegerTextBox control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class IntegerTextBoxVisualStyle : TextBoxExtVisualStyle, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
IntegerTextBoxVisualStyle()
Initializes a new instance of the IntegerTextBoxVisualStyle class.
Declaration
public IntegerTextBoxVisualStyle()
IntegerTextBoxVisualStyle(IntegerTextBoxStyleInfoIdentity)
Initializes a new instance of the IntegerTextBoxVisualStyle class.
Declaration
public IntegerTextBoxVisualStyle(IntegerTextBoxStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBoxStyleInfoIdentity | identity | A IntegerTextBoxStyleInfoIdentity that holds the identity for this |
IntegerTextBoxVisualStyle(IntegerTextBoxStyleInfoIdentity, TextBoxExtStyleInfoStore)
Initializes a new instance of the IntegerTextBoxVisualStyle class.
Declaration
public IntegerTextBoxVisualStyle(IntegerTextBoxStyleInfoIdentity identity, TextBoxExtStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBoxStyleInfoIdentity | identity | A IntegerTextBoxStyleInfoIdentity that holds the identity for this |
TextBoxExtStyleInfoStore | store | Holds instance of a |
IntegerTextBoxVisualStyle(TextBoxExtStyleInfoStore)
Initializes a new instance of the IntegerTextBoxVisualStyle class.
Declaration
public IntegerTextBoxVisualStyle(TextBoxExtStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TextBoxExtStyleInfoStore | store | Holds instance of a |
Properties
DefaultStyle
Gets the default style value for the IntegerTextBox control.
Declaration
public static IntegerTextBoxVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
IntegerTextBoxVisualStyle |
NegativeForeColor
Gets or sets the System.Drawing.Color value used to draw the fore color of the IntegerTextBox control when text value is negative.
Declaration
[ThemeStudio]
public Color NegativeForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the fore color of the textbox. |
ReadOnlyBackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the IntegerTextBox control when text value is read only.
Declaration
[ThemeStudio]
public Color ReadOnlyBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the back color of the textbox. |
ZeroForeColor
Gets or sets the System.Drawing.Color value used to draw the fore color of the IntegerTextBox control when text value is zero.
Declaration
[ThemeStudio]
public Color ZeroForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the fore color of the textbox. |
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
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |