Gets or sets the format specifier that will be used to edit the date picker's
Value.
Property Value
A string representing the format specifier that will be used to edit the date picker's
Value.
The following examples demonstrate how to set the EditFormatSpecifier property.
' Short date
winDatePicker1.EditFormatSpecifier = "d"
' Long date
winDatePicker1.EditFormatSpecifier = "D"
' Custom format (single quotes will be used as literals )
winDatePicker1.EditFormatSpecifier = "'Year' yyyy 'Month' MM 'Day' dd"
// Short date
winDatePicker1.EditFormatSpecifier = "d";
// Long date
winDatePicker1.EditFormatSpecifier = "D";
// Custom format (single quotes will be used as literals )
winDatePicker1.EditFormatSpecifier = "'Year' yyyy 'Month' MM 'Day' dd";
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