PendingFocusHelper Class

 

Microsoft internal use only. Helper to send focus to the FrameworkElement immediately or delay focusing until the FrameworkElement is loaded.

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

System.Object
  Microsoft.VisualStudio.PlatformUI.PendingFocusHelper

public static class PendingFocusHelper

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSetFocusOnLoad(FrameworkElement, Action<FrameworkElement>)

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

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticFocusPriority

Microsoft internal use only.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: