FocusHelper::FocusPossiblyUnloadedElement Method (FrameworkElement^)

 

Either sends focus to the FrameworkElement immediately or delays focusing until the FrameworkElement is loaded. The last element pending focus on Loaded will be focused and all previous FrameworkElements will not be focused.

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

public:
static void FocusPossiblyUnloadedElement(
	FrameworkElement^ element
)

Parameters

element
Type: System.Windows::FrameworkElement^

The element to focus.

Return to top
Show: