Class CurrencyTextBoxVisualStyle
Represents a class to define the style for the CurrencyTextBox control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class CurrencyTextBoxVisualStyle : TextBoxExtVisualStyle, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CurrencyTextBoxVisualStyle()
Initializes a new instance of the CurrencyTextBoxVisualStyle class.
Declaration
public CurrencyTextBoxVisualStyle()
CurrencyTextBoxVisualStyle(CurrencyTextBoxStyleInfoIdentity)
Initializes a new instance of the CurrencyTextBoxVisualStyle class.
Declaration
public CurrencyTextBoxVisualStyle(CurrencyTextBoxStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBoxStyleInfoIdentity | identity | A CurrencyTextBoxStyleInfoIdentity that holds the identity for this |
CurrencyTextBoxVisualStyle(CurrencyTextBoxStyleInfoIdentity, TextBoxExtStyleInfoStore)
Initializes a new instance of the CurrencyTextBoxVisualStyle class.
Declaration
public CurrencyTextBoxVisualStyle(CurrencyTextBoxStyleInfoIdentity identity, TextBoxExtStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBoxStyleInfoIdentity | identity | A CurrencyTextBoxStyleInfoIdentity that holds the identity for this |
TextBoxExtStyleInfoStore | store | Holds instance of a |
CurrencyTextBoxVisualStyle(TextBoxExtStyleInfoStore)
Initializes a new instance of the CurrencyTextBoxVisualStyle class.
Declaration
public CurrencyTextBoxVisualStyle(TextBoxExtStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TextBoxExtStyleInfoStore | store | Holds instance of a |
Properties
DefaultStyle
Gets the default style value for the CurrencyTextBox control.
Declaration
public static CurrencyTextBoxVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
CurrencyTextBoxVisualStyle |
NegativeForeColor
Gets or sets the System.Drawing.Color value used to draw the fore color of the CurrencyTextBox 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 CurrencyTextBox 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 CurrencyTextBox 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. |