FocusChangeForCrossThreadClientEventArgs Class

 

Event arguments for an event raised by a control on the Visual Studio UI thread when it has a child Win32 HWND that belongs to a different thread and has acquiredWin32 focus. It is required for proper focus restoration when Visual Studio loses or regains activation.

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

System.Object
  System.EventArgs
    System.Windows.RoutedEventArgs
      Microsoft.VisualStudio.Shell.FocusChangeForCrossThreadClientEventArgs

public sealed class FocusChangeForCrossThreadClientEventArgs : RoutedEventArgs

NameDescription
System_CAPS_pubmethodFocusChangeForCrossThreadClientEventArgs(IntPtr)

Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs.

System_CAPS_pubmethodFocusChangeForCrossThreadClientEventArgs(IntPtr, Object)

Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs that is associated with the specified window.

NameDescription
System_CAPS_pubpropertyHandled

(Inherited from RoutedEventArgs.)

System_CAPS_pubpropertyHwndGainingFocus

Gets the HWND of the window that is gaining focus.

System_CAPS_pubpropertyOriginalSource

(Inherited from RoutedEventArgs.)

System_CAPS_pubpropertyRoutedEvent

(Inherited from RoutedEventArgs.)

System_CAPS_pubpropertySource

(Inherited from RoutedEventArgs.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticFocusChangeForCrossThreadClientEvent

An event raised to alert Visual Studio to the fact that a window belonging to a thread other than the Visual Studio UI thread is gaining Win32 focus.

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: