Partager via


CommandNavigationHelper.GetCommandFocusMode(DependencyObject) Method

Definition

Gets the command focus mode for the specified element.

public:
 static Microsoft::VisualStudio::Shell::CommandNavigationHelper::CommandFocusMode GetCommandFocusMode(System::Windows::DependencyObject ^ element);
public static Microsoft.VisualStudio.Shell.CommandNavigationHelper.CommandFocusMode GetCommandFocusMode (System.Windows.DependencyObject element);
static member GetCommandFocusMode : System.Windows.DependencyObject -> Microsoft.VisualStudio.Shell.CommandNavigationHelper.CommandFocusMode
Public Shared Function GetCommandFocusMode (element As DependencyObject) As CommandNavigationHelper.CommandFocusMode

Parameters

element
DependencyObject

The element.

Returns

The command focus mode.

Applies to