Occurs whenever the UI context becomes active or inactive.
Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Event UIContextChanged As EventHandler(Of UIContextChangedEventArgs)
public event EventHandler<UIContextChangedEventArgs> UIContextChanged
public:
 event EventHandler<UIContextChangedEventArgs^>^ UIContextChanged {
    void add (EventHandler<UIContextChangedEventArgs^>^ value);
    void remove (EventHandler<UIContextChangedEventArgs^>^ value);
}
member UIContextChanged : IEvent<EventHandler<UIContextChangedEventArgs>,
    UIContextChangedEventArgs>
JScript does not support events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.