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


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

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

<DefaultValueAttribute("")>

Public Property DisplayFormatProvider As DateTimeFormatInfo
'Usage
 
Dim instance As WinDatePicker

Dim value As DateTimeFormatInfo

 

instance.DisplayFormatProvider = value

 

value = instance.DisplayFormatProvider
[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

[DefaultValue("")]

public DateTimeFormatInfo DisplayFormatProvider {get; set;}

Property Value

A System.Globalization.DateTimeFormatInfo representing the custom format provider that will be used to display the date picker'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

WinDatePicker Class
WinDatePicker Members