You can specify the time and date of a C1DateTimePicker control by setting the C1DateTimePicker.DateTime property using XAML or code.
In XAML
Complete the following steps:
<my:C1DateTimePicker DateTime="1/17/2010 11:04 AM"/>
In Code
Complete the following steps:
Visual Basic |
Copy Code
|
---|---|
C1DateTimePicker1.DateTime = New DateTime(2010, 1, 17, 11, 04, 0)
|
C# |
Copy Code
|
---|---|
c1DateTimePicker1.DateTime = new DateTime(2010, 1, 17, 11, 04, 0);
|
This Topic Illustrates the Following:
The result of this topic resembles the following image: