Share via


UIContext.UIContextChanged Event

Occurs whenever the UI context becomes active or inactive.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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

See Also

Reference

UIContext Class

Microsoft.VisualStudio.Shell Namespace