PendingFocusHelper Class

Helper to send focus to the FrameworkElement immediately or delay focusing until the FrameworkElement is loaded.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.PlatformUI.PendingFocusHelper

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

Syntax

'Declaration
Public NotInheritable Class PendingFocusHelper
public static class PendingFocusHelper
public ref class PendingFocusHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type PendingFocusHelper =  class end
public final class PendingFocusHelper

The PendingFocusHelper type exposes the following members.

Methods

  Name Description
Public methodStatic member SetFocusOnLoad Sets focus on the last element pending focus on the Loaded event, all previous elements will not be focused.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace