Class NumericTextBoxVisualStyle
Represents the class to define the style for SfNumericTextBox control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Input.Styles
Assembly: Syncfusion.SfInput.WinForms.dll
Syntax
public class NumericTextBoxVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
NumericTextBoxVisualStyle()
Initializes a new instance of the NumericTextBoxVisualStyle class.
Declaration
public NumericTextBoxVisualStyle()
NumericTextBoxVisualStyle(NumericTextBoxStyleInfoIdentity)
Initializes a new instance of the NumericTextBoxVisualStyle class.
Declaration
public NumericTextBoxVisualStyle(NumericTextBoxStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
NumericTextBoxStyleInfoIdentity | identity | A NumericTextBoxStyleInfoIdentity that holds the identity for this Syncfusion.WinForms.Input.Styles.NumericTextBoxVisualStyleInfoStore. |
Properties
BackColor
Gets or sets the back color for SfNumericTextBox.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Gets or sets the border color for SfNumericTextBox.
Declaration
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style of the SfNumericTextBox.
Declaration
public static NumericTextBoxVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
NumericTextBoxVisualStyle |
DisabledBackColor
Gets or sets the disable state back color for SfNumericTextBox.
Declaration
public Color DisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledBorderColor
Gets or sets the disabled state border color for SfNumericTextBox.
Declaration
public Color DisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledForeColor
Gets or sets the disabled state fore color for SfNumericTextBox when Value is zero.
Declaration
public Color DisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
FocusBorderColor
Gets or sets the focus border color for SfNumericTextBox.
Declaration
public Color FocusBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Gets or sets the font of SfNumericTextBox.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
HoverBorderColor
Gets or sets the hover border color for SfNumericTextBox.
Declaration
public Color HoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
NegativeForeColor
Gets or sets the fore color for SfNumericTextBox when Value is negative.
Declaration
public Color NegativeForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PositiveForeColor
Gets or sets the fore color for SfNumericTextBox when Value is positive.
Declaration
public Color PositiveForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
WatermarkForeColor
Gets or sets the watermark fore color for SfNumericTextBox.
Declaration
public Color WatermarkForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ZeroForeColor
Gets or sets the fore color for SfNumericTextBox when Value is zero.
Declaration
public Color ZeroForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True if managed resources should be disposed; otherwise, false. |
Overrides
GetDefaultStyle()
Gets the default style value of the NumericTextBoxVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |