Workspace.DocumentActiveContextChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use RegisterDocumentActiveContextChangedHandler instead, which by default will no longer run on the UI thread.
An event that is fired when the active context document associated with a buffer changes.
public:
event EventHandler<Microsoft::CodeAnalysis::DocumentActiveContextChangedEventArgs ^> ^ DocumentActiveContextChanged;
public event EventHandler<Microsoft.CodeAnalysis.DocumentActiveContextChangedEventArgs> DocumentActiveContextChanged;
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Use RegisterDocumentActiveContextChangedHandler instead, which by default will no longer run on the UI thread.", false)]
public event EventHandler<Microsoft.CodeAnalysis.DocumentActiveContextChangedEventArgs> DocumentActiveContextChanged;
member this.DocumentActiveContextChanged : EventHandler<Microsoft.CodeAnalysis.DocumentActiveContextChangedEventArgs>
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("Use RegisterDocumentActiveContextChangedHandler instead, which by default will no longer run on the UI thread.", false)>]
member this.DocumentActiveContextChanged : EventHandler<Microsoft.CodeAnalysis.DocumentActiveContextChangedEventArgs>
Public Custom Event DocumentActiveContextChanged As EventHandler(Of DocumentActiveContextChangedEventArgs)
Event Type
- Attributes