CommandNavigationHelper Class

Visual Studio 2015
 

Saves and restores elements to be focused after interacting with menus and toolbars.

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

System.Object
  Microsoft.VisualStudio.Shell.CommandNavigationHelper

public static class CommandNavigationHelper

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticCommandFocusMode

Specifies the CommandFocusMode.

System_CAPS_pubpropertySystem_CAPS_staticCommandNavigationOrder

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.

System_CAPS_pubpropertySystem_CAPS_staticIsCommandNavigable

Marks a control as part of the keyboard navigation cycle list for menus/toolbars.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetCommandFocusMode(DependencyObject)

Gets the command focus mode for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticGetCommandNavigationOrder(DependencyObject)

Gets the command navigation order for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticGetIsCommandNavigable(DependencyObject)

Determins whether the command is navigable.

System_CAPS_pubmethodSystem_CAPS_staticSetCommandFocusMode(DependencyObject, CommandNavigationHelper.CommandFocusMode)

Sets the command focus mode for the element.

System_CAPS_pubmethodSystem_CAPS_staticSetCommandNavigationOrder(DependencyObject, Int32)

Sets the command navigation order for the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetIsCommandNavigable(DependencyObject, Boolean)

Determines whether or not the command is navigable.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticCommandFocusModeProperty

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

System_CAPS_pubfieldSystem_CAPS_staticCommandNavigationOrderProperty

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.

System_CAPS_pubfieldSystem_CAPS_staticIsCommandNavigableProperty

Marks a control as part of the keyboard navigation cycle list for menus/toolbars.

NameDescription
System_CAPS_pubeventSystem_CAPS_staticCommandFocusModePropertyChanged

Raised when the CommandFocusMode property has changed.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: