This project has moved. For the latest updates, please go here.

DateTimePicker Tab problems

Jan 18, 2012 at 8:31 PM

When I am tabbing through my application I noticed that the DateTimePicker has two tab stops: the text field, and the calendar button.  I am able to set the TabIndex on the text field and have tabbing work correctly, but I do not know how to set the tab index on the calendar button.  Currently it is the last item to get focus when I tab through my application. 

How can I set the tab index for the calendar button (looks like an arrow pointing down on the far right of the control) in the DateTimePicker?

Here is the XAML:

<extk:DateTimePicker Grid.Column="3"
                    FormatString="dd-MMM-yyyy HH:mm"
                    Value="{Binding Path=OccurrenceDate}" />
Jan 18, 2012 at 8:32 PM

currently you cannot set the tab index of the drop down button separately.  Maybe I should disable tabbing on the drop down button.  What do you think?

Jan 18, 2012 at 8:43 PM

Disabling tabbing on the drop down button is a good idea since you can't use the calendar interface with a keyboard anyway (and not using the mouse).