Partilhar via


FocusHelper.FocusPossiblyUnloadedElement Method

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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public Shared Sub FocusPossiblyUnloadedElement ( _
    element As FrameworkElement _
)
public static void FocusPossiblyUnloadedElement(
    FrameworkElement element
)

Parameters

.NET Framework Security

See Also

Reference

FocusHelper Class

Microsoft.VisualStudio.PlatformUI Namespace