CommandBar Members

Include Protected Members
Include Inherited Members

Represents a command bar in the container application.

The CommandBar type exposes the following members.

Properties

  Name Description
Public property accChild[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accChild[Object] Reserved for internal use.
Public property accChildCount (Inherited from _IMsoOleAccDispObj.)
Public property accChildCount Reserved for internal use.
Public property accDefaultAction[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accDefaultAction[Object] Reserved for internal use.
Public property accDescription[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accDescription[Object] Reserved for internal use.
Public property accFocus (Inherited from _IMsoOleAccDispObj.)
Public property accFocus Reserved for internal use.
Public property accHelp[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accHelp[Object] Reserved for internal use.
Public property accHelpTopic[String, Object] (Inherited from _IMsoOleAccDispObj.)
Public property accHelpTopic[String, Object] Reserved for internal use.
Public property accKeyboardShortcut[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accKeyboardShortcut[Object] Reserved for internal use.
Public property accName[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accName[Object] Reserved for internal use.
Public property accParent (Inherited from _IMsoOleAccDispObj.)
Public property accParent Reserved for internal use.
Public property accRole[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accRole[Object] Reserved for internal use.
Public property accSelection (Inherited from _IMsoOleAccDispObj.)
Public property accSelection Reserved for internal use.
Public property accState[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accState[Object] Reserved for internal use.
Public property accValue[Object] (Inherited from _IMsoOleAccDispObj.)
Public property accValue[Object] Reserved for internal use.
Public property AdaptiveMenu Determines if an individual menu is enabled to use adaptive menus.
Public property Application (Inherited from _IMsoOleAccDispObj.)
Public property Application Returns an Application object that represents the container application for the object.
Public property BuiltIn Determines if the specified command bar or command bar control is a built-in command bar or control of the container application.
Public property Context Returns or sets a string that determines where a command bar will be saved.
Public property Controls Returns a CommandBarControls object that represents all the controls on a command bar or pop-up control.
Public property Creator (Inherited from _IMsoOleAccDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Enabled Determines if the specified command bar or is enabled.
Public property Height Returns or sets the height of a command bar.
Public property Id Reserved for internal use.
Public property Index Returns an Integer representing the index number for an object in the collection.
Public property InstanceId Reserved for internal use.
Public property InstanceIdPtr
Public property Left Returns or sets the distance (in pixels) of the command bar from the left edge of the specified object relative to the screen.
Public property Name Returns or sets the name of the specified object.
Public property NameLocal Returns the name of a built-in command bar as it's displayed in the language version of the container application, or returns or sets the name of a custom command bar.
Public property Parent Returns the parent object for the specified object.
Public property Position Returns or sets the position of a command bar.
Public property Protection Returns or sets the way a command bar is protected from user customization.
Public property RowIndex Returns or sets the docking order of a command bar in relation to other command bars in the same docking area.
Public property Top Returns or sets the distance (in points) from the top edge of the specified command bar to the top edge of the screen.
Public property Type Returns the type of command bar.
Public property Visible Determines if the specified object is visible.
Public property Width Returns or sets the width (in pixels) of the specified command bar.

Top

Methods

  Name Description
Public method accDoDefaultAction(Object) (Inherited from _IMsoOleAccDispObj.)
Public method accDoDefaultAction(Object) Reserved for internal use.
Public method accHitTest(Int32, Int32) (Inherited from _IMsoOleAccDispObj.)
Public method accHitTest(Int32, Int32) Reserved for internal use.
Public method accLocation(Int32, Int32, Int32, Int32, Object) (Inherited from _IMsoOleAccDispObj.)
Public method accLocation(Int32, Int32, Int32, Int32, Object) Reserved for internal use.
Public method accNavigate(Int32, Object) (Inherited from _IMsoOleAccDispObj.)
Public method accNavigate(Int32, Object)
Public method accSelect(Int32, Object) (Inherited from _IMsoOleAccDispObj.)
Public method accSelect(Int32, Object) Reserved for internal use.
Public method Delete Deletes the specified object from the collection.
Public method FindControl Returns a CommandBarControl object that fits the specified criteria.
Public method Reset Resets a built-in command bar to its default configuration.
Public method ShowPopup Displays a command bar as a shortcut menu at the specified coordinates or at the current pointer coordinates.

Top

See Also

Reference

CommandBar Interface

Microsoft.Office.Core Namespace