UIContext.IVsUIContextEvents.OnContextChanged(Guid, Boolean) Method
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.
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.