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