Interface IGenericCommand
Provides properties common to all I*Command extension point interfaces.
Namespace: Algenta.Colectica.ViewModel.Commands
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IGenericCommand
Properties
Category
Gets the category of the command, which is used to group similar commands together. When commands appear in the ribbon, each category gets its own top level ribbon tab.
Declaration
string Category { get; }
Property Value
Type | Description |
---|---|
System.String |
Image
Gets the path to an image that represents the command.
Declaration
string Image { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets the name of the command, which is displayed in menus and on buttons.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
SubCategory
Gets the subcategory of the command, which is used to group similar commads together. When commands appear in the ribbon, each subcategory gets its own labeled section of a ribbon tab.
Declaration
string SubCategory { get; }
Property Value
Type | Description |
---|---|
System.String |
Weight
Gets the order in which this Addin should be displayed. Lower values are displayed higher or further to the left.
Declaration
int Weight { get; }
Property Value
Type | Description |
---|---|
System.Int32 |