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


In This Topic
    EditFormatProvider Property (WinDatePicker)
    In This Topic
    Gets or sets the custom format provider that will be used to edit the date picker's Value.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    <DefaultValueAttribute("")>
    Public Property EditFormatProvider As DateTimeFormatInfo
    'Usage
     
    Dim instance As WinDatePicker
    Dim value As DateTimeFormatInfo
     
    instance.EditFormatProvider = value
     
    value = instance.EditFormatProvider
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    [DefaultValue("")]
    public DateTimeFormatInfo EditFormatProvider {get; set;}

    Property Value

    A System.Globalization.DateTimeFormatInfo representing the custom format provider that will be used to edit the date picker's Value. By default, DefaultEditFormatProvider.
    Remarks

    When the EditFormatProvider 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 EditFormatSpecifier property can be found in the "Format Specifiers and Format Providers" topic of the .NET Framework.

    The edit format provider can differ from the DisplayFormatProvider.

    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