FocusHelper::GetFocusTarget Method (UIElement^)

Visual Studio 2015
 

Gets 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.

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

public:
static UIElement^ GetFocusTarget(
	UIElement^ element
)

Parameters

element
Type: System.Windows::UIElement^

The element which should have a focus target attached to it.

Return Value

Type: System.Windows::UIElement^

The current focus target for the element.

Return to top
Show: