UIContext.IVsUIContextEvents.OnContextChanged(Guid, Boolean) Method

Definition

Our context changed callback handler. This handles both changes to the Guid we represent, as well as changes to ShellInitialized_guid (which might also be the Guid we represent).

void IVsUIContextEvents.OnContextChanged (Guid uiContext, bool active);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIContextEvents.OnContextChanged : Guid * bool -> unit
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIContextEvents.OnContextChanged : Guid * bool -> unit
Sub OnContextChanged (uiContext As Guid, active As Boolean) Implements IVsUIContextEvents.OnContextChanged

Parameters

uiContext
Guid

The UI context that is changing.

active
Boolean

Whether the UI context is now active or inactive.

Implements

Applies to