ArcObjects Library Reference (SystemUI)  

esriCommandStyles Constants

Command display styles.

Constant Value Description
esriCommandStyleTextOnly 0 Display text only.
esriCommandStyleIconOnly 1 Display icon only.
esriCommandStyleIconAndText 2 Display icon and text.
esriCommandStyleMenuBar 4 Display bar as main menu.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Use the esriCommandStyles enumeration with the ICommandItem::Style property.

esriCommandStyleTextOnly         Displays the command with text only.
esriCommandStyleIconOnly         Displays the command with icon only.
esriCommandStyleIconAndText   Displays the command with icon and text.
esriCommandStyleMenuBar         Displays the commandbar as main menu.

Commands on menus should never have a style of esriCommandStyleIconOnly.

See Also

ICommandItem.Style Property

.NET Snippets

Add Editing Commands to ToolbarControl