PendingFocusHelper.SetFocusOnLoad Method

Sets focus on the last element pending focus on the Loaded event, all previous elements will not be focused.

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

Syntax

'Declaration
Public Shared Sub SetFocusOnLoad ( _
    element As FrameworkElement _
)
public static void SetFocusOnLoad(
    FrameworkElement element
)
public:
static void SetFocusOnLoad(
    FrameworkElement^ element
)
static member SetFocusOnLoad : 
        element:FrameworkElement -> unit
public static function SetFocusOnLoad(
    element : FrameworkElement
)

Parameters

.NET Framework Security

See Also

Reference

PendingFocusHelper Class

Microsoft.VisualStudio.PlatformUI Namespace