FocusHelper::SetFocusTarget Method (UIElement^, UIElement^)
Visual Studio 2015
Sets the focus target for an element. The focus target is automatically focused whenever the DependencyObject that the target is attached to receives direct keyboard focus.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- element
-
Type:
System.Windows::UIElement^
The element that should have a focus target attached to it.
- value
-
Type:
System.Windows::UIElement^
The new focus target for the element.
Show: