CommandGroupNameAttribute class

Specifies which category the command belongs to.

The following code specifies that the command “Color” belongs to the “Shapes and Pictures” category.

Examples

using LinsUI;

 

public static class LinsResource

{

[CommandGroupNameAttribute("Shapes and Pictures"), // The Category name

 // Command name

 CommandNameAttribute("Color"),

 // Tell the application, it is a combobox 

 CommandTypeAttribute(TSITEM_TYPEID.COMBOBOX)]  

public const long m_nColorID =  FlexConstants.m_nUserDefinedControlStartID + 1;

}