UIContext Class
Represents the active state of a UI context.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Shell.UIContext
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public NotInheritable Class UIContext _
Implements INotifyPropertyChanged
public sealed class UIContext : INotifyPropertyChanged
public ref class UIContext sealed : INotifyPropertyChanged
[<Sealed>]
type UIContext =
class
interface INotifyPropertyChanged
end
public final class UIContext implements INotifyPropertyChanged
The UIContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsActive | Gets the current state of the UI context, whether it is active or not. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FromUIContextGuid | Constructs a UIContext instance identified with the given GUID. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when the IsActive property changes values. | |
UIContextChanged | Occurs whenever the UI context becomes active or inactive. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.