Share via


CommandNavigationHelper.CommandFocusMode Enum

Definition

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).

Applies to