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

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

.NET Related Topics

How to show a context menu in ArcGIS Desktop applications |