ArcObjects Library Reference (Framework)  

IDocument.CommandBars Property

The commandbars collection in this document.

[Visual Basic .NET]
Public ReadOnly Property CommandBars As ICommandBars
[C#]
public ICommandBars CommandBars {get;}

Product Availability

Available with ArcGIS Desktop.

Description

CommandBars is a collection of all the toolbars available to a document. The ICommandBars interface allows you to set properties for all the commandbars and to create, find, or hide commandbars.

 

See Also

IDocument Interface | ICommandBars Interface

.NET Snippets

Find Command and Execute | Get Toolbar by Name | List ArcMap Visible Toolbars | Get Command on Toolbar by Names | Statements - Use a Tool in a Windows Form | Create Context Menu | Get Command by Name | Set Tool Active in ToolBar | Use Custom Tool on Windows Form

.NET Related Topics

How to show a context menu in ArcGIS for Desktop applications