Class AbstractCommandBarItemAttribute
Abstract base class for command bar item extension attributes.
Inheritance
AbstractCommandBarItemAttribute
Implements
Inherited Members
Namespace: SdlSdl.DesktopIntegrationApiExtensions
Assembly: Sdl.Desktop.IntegrationApi.Extensions.dll
Syntax
public abstract class AbstractCommandBarItemAttribute : ExtensionAttribute, _Attribute
Remarks
The concrete classes extending this abstract base class:
Constructors
AbstractCommandBarItemAttribute()
Default constructor for XML serialization.
Declaration
protected AbstractCommandBarItemAttribute()
AbstractCommandBarItemAttribute(string, string, string)
Constructor with basic properties.
Declaration
protected AbstractCommandBarItemAttribute(string id, string name, string description)
Parameters
Type | Name | Description |
---|---|---|
string | id | A unique id for this command bar item. |
string | name | A name for this command bar item. Should typically be a key of a resource string in PluginResources.resx. |
string | description | A description for this command bar item. Should typically be a key of a resource string in PluginResources.resx. |
Properties
ContextByType
Gets or sets the action context in which the action is valid. This can be a view controller type, or null if the action available globally.
Declaration
public Type ContextByType { get; set; }
Property Value
Type | Description |
---|---|
Type |