WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PercentTextBoxVisualStyle

    Show / Hide Table of Contents

    Class PercentTextBoxVisualStyle

    Represents a class to define the style for the PercentTextBox control.

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

    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 class.

    Properties

    DefaultStyle

    Gets the default style value for the PercentTextBox control.

    Declaration
    public static PercentTextBoxVisualStyle DefaultStyle { get; }
    Property Value
    Type Description
    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
    TextBoxExtVisualStyle.CreateSubObjectIdentity(StyleInfoProperty)

    GetDefaultStyle()

    Gets the default style value of the class.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Returns the default style value.

    Overrides
    TextBoxExtVisualStyle.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 - 2023 Syncfusion Inc. All Rights Reserved