You can specify the time and date of a C1DateTimeSelector control by setting the SelectedDate property in XAML or code.
In XAML
To specify the initially selected date, edit your XAML markup to resemble the following:
Markup |
Copy Code
|
---|---|
<Xaml:C1DateTimeSelector SelectedDate="1932, 10, 12/>
|
In Code
C# |
Copy Code
|
---|---|
c1DTS1.SelectedDate = new DateTime( 1932, 10, 12 );
|
Visual Basic |
Copy Code
|
---|---|
c1DTS1.SelectedDate = New DateTime(1932, 10, 12) |