DateTimeEditBox & TimeSpanEditBox

Editors for WPF Forum

Posted 10 years ago by FinallyInSeattle
Version: 10.1.0521
Avatar
We're starting work on our accessibility effort and we're using / will be using these two controls (among others). I noticed that Tab & Shift-Tab allow the user to navigate between the "parts" of the control. Is there a key sequence that allows the user to "tab out" of the control without navigating though all the parts? Also, is there general documentation on key shortcuts for your controls?

Thanks in advance!

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hello,

There isn't currently a way to "tab out" of the control. You can alter the behavior by setting KeyboardNavigation.TabNavigation="Once" and/or KeyboardNavigation.ControlTabNavigation="Once" on the control.

We've add a section to our help file that gives an overview of the supported keys, which is included here:

Enter - When a Part has focus and uncommitted changes, the user can press the Enter key to commit the changes.
Escape - When a Part has focus and uncommitted changes, the user can press the Escape key to revert the changes.
Tab - The Tab key can be used to move the focus forward from one Part to the next.
Shift+Tab - The Shift+Tab key can be used to move the focus backwards from one Part to the next.
Ctrl+A - When a Part has focus, selects all the associated text. If Ctrl+A is pressed again and there are multiple parts, then the associated PartGroup will be selected.
Ctrl+C - When a Part has focus, copies the selected text to the clipboard. When a PartGroup is selected, copies the text of the entire group to the clipboard.
Ctrl+X - When a Part has focus, cuts the selected text to the clipboard. When a PartGroup is selected and allows nulls, cuts the text of the entire group to the clipboard.
Ctrl+V - When a Part has focus, pastes text from the clipboard over the selected text. When a PartGroup is selected, pastes text from the clipboard in the group.
LeftArrow - When a Part has focus, the caret is moved to the left. If the caret is currently at the beginning of the text and there is another Part to the left, then the focus will be moved to the next Part. If the Shift key is held down, then the text will be selected as the arrow key is pressed. Text cannot be selected across parts.
RightArrow - When a Part has focus, the caret is moved to the right. If the caret is currently at the end of the text and there is another Part to the right, then the focus will be moved to the next Part. If the Shift key is held down, then the text will be selected as the arrow key is pressed. Text cannot be selected across parts.
Home - When a Part has focus, the caret is moved to the beginning of the text. If the Shift key is held down, then the text will be selected as the home key is pressed. Text cannot be selected across parts.
End - When a Part has focus, the caret is moved to the end of the text. If the Shift key is held down, then the text will be selected as the end key is pressed. Text cannot be selected across parts.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.