Udostępnij za pośrednictwem


CommandNavigationHelper.SetCommandFocusMode Method

Definition

Sets the command focus mode for the element.

public:
 static void SetCommandFocusMode(System::Windows::DependencyObject ^ element, Microsoft::VisualStudio::Shell::CommandNavigationHelper::CommandFocusMode value);
public static void SetCommandFocusMode (System.Windows.DependencyObject element, Microsoft.VisualStudio.Shell.CommandNavigationHelper.CommandFocusMode value);
static member SetCommandFocusMode : System.Windows.DependencyObject * Microsoft.VisualStudio.Shell.CommandNavigationHelper.CommandFocusMode -> unit
Public Shared Sub SetCommandFocusMode (element As DependencyObject, value As CommandNavigationHelper.CommandFocusMode)

Parameters

element
DependencyObject

The element.

value
CommandNavigationHelper.CommandFocusMode

The command focus mode.

Applies to