Xceed Grid for WinForms v4.3 Documentation
DisplayFormatProvider Property (WinNumericTextBox)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinNumericTextBox Class : DisplayFormatProvider Property
Gets or sets the custom format provider that will be used to display the WinNumericTextBox's Value.
Syntax
'Declaration
 
<BrowsableAttribute(False)>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

Public Property DisplayFormatProvider As NumberFormatInfo
'Usage
 
Dim instance As WinNumericTextBox

Dim value As NumberFormatInfo

 

instance.DisplayFormatProvider = value

 

value = instance.DisplayFormatProvider
[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

public NumberFormatInfo DisplayFormatProvider {get; set;}

Property Value

A System.Globalization.DateTimeFormatInfo representing the custom format provider that will be used to display the WinNumericTextBox's Value. By default, DefaultDisplayFormatProvider.
Remarks

When the DisplayFormatProvider property is reset to its default value, the current thread's culture settings will be used.

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

The display format provider can differ from the EditFormatProvider.

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

Reference

WinNumericTextBox Class
WinNumericTextBox Members