CommandNavigationHelper.CommandFocusMode Enumeration

Visual Studio 2015
 

Specifies how the control on which it's set is registered with CommandFocusManager for handling focus restoration and entering menu mode.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.14.0 (in Microsoft.VisualStudio.Shell.Immutable.14.0.dll)

public enum CommandFocusMode

Member nameDescription
Attached

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

The element participates in command focus restoration and is considered to be part of the command UI, along with menus and toolbars (when the control is focused InputManager.IsInMenuMode is set and VS keybindings does not work).

None

The element does not participate in command focus restoration.

Return to top
Show: