EnableKeyboardNavigate Method
Description
Specifies the keyboard keys that can be used to navigate the docking panes.
Syntax
Public Sub EnableKeyboardNavigate( _
ByVal Options As DockingPaneKeyboardNavigate _
)
Parameters
- Options: Flags that specify which keys can be used to navigate the panes.
Key Combinations
| Key Combination | Description |
|---|---|
| PaneKeyboardUnused | Panes cannot be navigated using the keyboard. |
| PaneKeyboardUseAltMinus | Using this key combination causes a drop-down menu to appear in which you can select the move option. You can then use the keyboard arrow keys to move the pane. |
| PaneKeyboardUseAltF6 | Using this key combination causes focus to be passed directly to the next pane. |
| PaneKeyboardUseAltF7 | Using this key combination causes a popup window similar to the Windows Alt+Tab window, allowing you to choose the pane that will receive focus from the list of panes in the popup window. |
| PaneKeyboardUseCtrlTab | Using this key combination causes a popup window similar to the Windows Alt+Tab window, allowing you to choose the pane that will receive focus from the list of panes in the popup window. |
| PaneKeyboardUseAll | Panes can be navigated using the Alt+Minus, Alt+F6, Alt+F7, and Ctrl+Tab keys on the keyboard. |
Return Type
One or more flags from the DockingPaneKeyboardNavigate enumeration that specify which keys are used to navigate the panes.
Remarks
The EnableKeyboardNavigate method uses one or more flags from the DockingPaneKeyboardNavigate enumeration to specify which keys can be used to navigate the panes.
By default, PaneKeyboardUnused is used.
Example
This sample illustrates how to enable keyboard navigation of the docking panes.
DockingPaneManager.EnableKeyboardNavigate PaneKeyboardUseAll
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.