Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinNumericTextBox Class / DisplayFormatSpecifier Property


In This Topic
    DisplayFormatSpecifier Property (WinNumericTextBox)
    In This Topic
    Gets or sets the format specifier that will be used to display the WinNumericTextBox's Value.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("The format specifier that will be used to display the WinNumericTextBox's Value.")>
    <TypeConverterAttribute("Xceed.Editors.Design.NumericFormatSpecifierConverter,Xceed.Editors.v2.6.Design,Version=2.6.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <DefaultValueAttribute("")>
    <LocalizableAttribute(True)>
    Public Property DisplayFormatSpecifier As String
    'Usage
     
    Dim instance As WinNumericTextBox
    Dim value As String
     
    instance.DisplayFormatSpecifier = value
     
    value = instance.DisplayFormatSpecifier
    [Category("Appearance")]
    [Description("The format specifier that will be used to display the WinNumericTextBox's Value.")]
    [TypeConverter("Xceed.Editors.Design.NumericFormatSpecifierConverter,Xceed.Editors.v2.6.Design,Version=2.6.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [DefaultValue("")]
    [Localizable(true)]
    public string DisplayFormatSpecifier {get; set;}

    Property Value

    A string representing the format specifier that will be used to display the WinNumericTextBox's Value.
    Remarks

    The list of values that can be passed to the DisplayFormatSpecifier property can be found in the "DisplayFormat Specifiers and DisplayFormat Providers" topic of the .NET Framework.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also