Interface IViewContext
The contract defining context view informations.
Namespace: Sdl.Desktop.IntegrationApi
Assembly: Sdl.Desktop.IntegrationApi.dll
Syntax
public interface IViewContext
Properties
Available
Returns whether this view is currently available.
Declaration
bool Available { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Description
Returns the description of this view.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
Returns whether this view is currently enabled.
Declaration
bool Enabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Icon
Returns an icon representing this view. Can be null.
Declaration
Icon Icon { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Icon |
Id
Returns the unique id of the view.
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Returns the friendly name of this view.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Shortcut
Returns a shortcut which can be used to activate this view.
Declaration
Keys Shortcut { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.Keys |
Events
AvailableChanged
Raised when the value of the Available property changes.
Declaration
event EventHandler AvailableChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
EnabledChanged
Raised when the value of the Enabled property changes.
Declaration
event EventHandler EnabledChanged
Event Type
Type | Description |
---|---|
System.EventHandler |