CommandNavigationHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves and restores elements to be focused after interacting with menus and toolbars.
public ref class CommandNavigationHelper abstract sealed
public ref class CommandNavigationHelper abstract sealed
class CommandNavigationHelper abstract sealed
public static class CommandNavigationHelper
type CommandNavigationHelper = class
Public Class CommandNavigationHelper
- Inheritance
-
CommandNavigationHelper
Fields
CommandFocusModeProperty |
CommandFocusMode property can be set on various UIElements to treat them as part of menus/toolbars focus restoration logic. |
CommandNavigationOrderProperty |
This property allows a control to specify its keyboard navigation cycle order with respect to other command navigable controls. A larger value moves the control later in the cycle list. |
IsCommandNavigableProperty |
This property can be used to mark a control as part of the keyboard navigation cycle list for menus/toolbars. |
Attached Properties
CommandFocusMode |
Specifies the CommandFocusMode. |
CommandNavigationOrder |
Allows a control to specify its keyboard navigation cycle order with respect to other command navigable controls. A larger value moves the control later in the cycle list. |
IsCommandNavigable |
Marks a control as part of the keyboard navigation cycle list for menus/toolbars. |
Methods
GetCommandFocusMode(DependencyObject) |
Gets the command focus mode for the specified element. |
GetCommandNavigationOrder(DependencyObject) |
Gets the command navigation order for the specified element. |
GetIsCommandNavigable(DependencyObject) |
Determins whether the command is navigable. |
SetCommandFocusMode(DependencyObject, CommandNavigationHelper+CommandFocusMode) |
Sets the command focus mode for the element. |
SetCommandNavigationOrder(DependencyObject, Int32) |
Sets the command navigation order for the specified element. |
SetIsCommandNavigable(DependencyObject, Boolean) |
Determines whether or not the command is navigable. |
Events
CommandFocusModePropertyChanged |
Raised when the CommandFocusMode property has changed. |