CommandNavigationHelper.CommandFocusMode Enum
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.
Values for CommandFocusMode attached property, specify how the control on which it's set is registered with CommandFocusManager for handling focus restoration and entering menu mode.
public: enum class CommandNavigationHelper::CommandFocusMode
enum CommandNavigationHelper::CommandFocusMode
public enum CommandNavigationHelper.CommandFocusMode
type CommandNavigationHelper.CommandFocusMode =
Public Enum CommandNavigationHelper.CommandFocusMode
- Inheritance
-
CommandNavigationHelper.CommandFocusMode
Fields
Name | Value | Description |
---|---|---|
None | 0 | The element does not participate in command focus restoration. |
Attached | 1 | The element does not participate in command focus restoration. However, getting focus to this element is tracked and used in command focus restoration of command focus containers, such that focus is never restored to this control when lost by other command focus containers, even if they received focus from this control. |
Container | 2 | The element participate in command focus restoration and is consider part of command UI along menus and toolbars (when the control is focused InputManager.IsInMenuMode will be set and VS keybindings will not work). |