CommandTypeAttribute class

Specifies what kind of toolstripitem the command is associated to.

Examples

using LinsUI;

 

public static class LinsResource

{

[CommandGroupNameAttribute("Main"), // The Category name

 // Command name

 CommandNameAttribute("Import"),

 // Tell the application, it is a menu item 

 CommandTypeAttribute(TSITEM_TYPEID.MENUITEM)]

public const long m_nColorID =  FlexConstants.m_nUserDefinedControlStartID + 1;

}