UIContext Class
Visual Studio 2015
Represents the active state of a UI context.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() | IsActive | Gets the current state of the UI context, whether it is active or not. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() ![]() | FromUIContextGuid(Guid) | Constructs a UIContext instance identified with the given GUID. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | WhenActivated(Action) | Execute the given action if the context is active. If the context is not currently active, the action will be executed when it is first activated. The action executes at most once. |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when the IsActive property changes values. |
![]() | UIContextChanged | Occurs whenever the UI context becomes active or inactive. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:



