ComponentOne Scheduler for WPF: Using the Calendar Controls > C1DateTimePicker Control

C1DateTimePicker Control

The C1DateTimePicker control represents two drop-down controls: the first for selecting a date from a drop-down calendar, and the second for selecting day hours from a combobox. The control shows or hides these parts according to the values of the ShowDatePicker and ShowTimePicker properties.

 

 

To hide the Date or TimePicker:

1.   Select the C1DateTimePicker control.

2.   Uncheck either ShowDatePicker or ShowTimePicker in the Properties window of Blend or Visual Studio.

Use TimeFormat, DateFormat, and DayNameFormat properties to change DateTime formatting. To hide the day name part, set DayNameFormat property to “”.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.