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.
Assembly: Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)
System.EventArgs
System.Windows.RoutedEventArgs
Microsoft.VisualStudio.Shell.FocusChangeForCrossThreadClientEventArgs
| Name | Description | |
|---|---|---|
![]() | FocusChangeForCrossThreadClientEventArgs(IntPtr) | Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs. |
![]() | FocusChangeForCrossThreadClientEventArgs(IntPtr, Object) | Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs that is associated with the specified window. |
| Name | Description | |
|---|---|---|
![]() | Handled | (Inherited from RoutedEventArgs.) |
![]() | HwndGainingFocus | Gets the HWND of the window that is gaining focus. |
![]() | OriginalSource | (Inherited from RoutedEventArgs.) |
![]() | RoutedEvent | (Inherited from RoutedEventArgs.) |
![]() | Source | (Inherited from RoutedEventArgs.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | FocusChangeForCrossThreadClientEvent | 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.



