Sunday, January 2, 2011

CommandTypeAttribute class of LinsUI Layout Manager 2.1

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;

No comments:

Post a Comment