Invoking Focus method does not work for ComponentOne’s DateTimeEditors controls like C1DatePicker/C1DateTimePicker. This happens because C1DatePicker/C1DateTimePicker is composed of many controls hence invoking Focus method does not effectively focuses the control.
Steps to Complete:
There are two ways to set focus on DateTimeEditors in WPF Edition:
Using VisualTreeHelper: Find internal C1MaskedTextBox using VisualTreeHelper and focus it at runtime.
Creating custom control: Create custom C1DatePicker/C1DateTimePicker inheriting C1DatePicker/C1DateTimePicker respectively and override its OnGotFocus method.