menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NumericTextBoxVisualStyle - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NumericTextBoxVisualStyle

    Represents the class to define the style for SfNumericTextBox control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    NumericTextBoxVisualStyle
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    StyleInfoBase.BeginInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.CacheValues
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    StyleInfoBase.ClearCache()
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.Dispose()
    StyleInfoBase.EndInit()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.IsChanged
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.Store
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.Updating
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.Owner
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.SubObjectIdentity
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    VisualStyleBase.UpdateStyles(IThemeProvider)
    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
    StyleInfoSubObjectBase.Dispose(Boolean)

    GetDefaultStyle()

    Gets the default style value of the NumericTextBoxVisualStyle class.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Returns the default style value.

    Overrides
    VisualStyleBase.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved