共用方式為


UIContext.UIContextChanged Event

Definition

Event that fires whenever the UIContext becomes active or inactive.

public:
 event EventHandler<Microsoft::VisualStudio::Shell::UIContextChangedEventArgs ^> ^ UIContextChanged;
public event EventHandler<Microsoft.VisualStudio.Shell.UIContextChangedEventArgs> UIContextChanged;
member this.UIContextChanged : EventHandler<Microsoft.VisualStudio.Shell.UIContextChangedEventArgs> 
Public Event UIContextChanged As EventHandler(Of UIContextChangedEventArgs) 

Event Type

Applies to