Version

SelectedDateFormat Property

Gets / sets the System.Windows.Controls.DatePickerFormat that will be assigned to the System.Windows.Controls.DatePicker controls of the DateColumn.
Syntax
'Declaration
 
Public Property SelectedDateFormat As DatePickerFormat
public DatePickerFormat SelectedDateFormat {get; set;}
Example
The SelectedDateFormat property (Long or Short) allows you to control how the Date value of the column is displayed to the end user.

CType(MyDataGrid.Columns.DataColumns("AdmittanceDate"), DateColumn).SelectedDateFormat = DatePickerFormat.Long
((DateColumn)(MyDataGrid.Columns.DataColumns["AdmittanceDate"])).SelectedDateFormat = DatePickerFormat.Long;
<ig:DateColumn Key="AdmittanceDate" SelectedDateFormat="Long"/>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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