CommandBarsClass Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See _CommandBars for details.
public ref class CommandBarsClass : Microsoft::VisualStudio::CommandBars::CommandBars, System::Collections::IEnumerable
public ref class CommandBarsClass
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("Microsoft.VisualStudio.CommandBars._CommandBarsEvents\0")]
[System.Runtime.InteropServices.Guid("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")]
public class CommandBarsClass : Microsoft.VisualStudio.CommandBars.CommandBars, System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("Microsoft.VisualStudio.CommandBars._CommandBarsEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class CommandBarsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("Microsoft.VisualStudio.CommandBars._CommandBarsEvents\0")>]
[<System.Runtime.InteropServices.Guid("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")>]
type CommandBarsClass = class
interface _CommandBars
interface CommandBars
interface _CommandBarsEvents_Event
interface IEnumerable
[<System.Runtime.InteropServices.Guid("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("Microsoft.VisualStudio.CommandBars._CommandBarsEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type CommandBarsClass = class
Public Class CommandBarsClass
Implements CommandBars, IEnumerable
Public Class CommandBarsClass
- Inheritance
-
CommandBarsClass
- Attributes
- Implements
Remarks
This class implements the interface _CommandBars and _CommandBarsEvents_Event, and inherits from the class CommandBars.
Constructors
CommandBarsClass() |
Properties
ActionControl |
Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running. |
ActiveMenuBar |
Gets the menu bar that is currently active. |
AdaptiveMenus |
Determines whether the set of controls is determined by usage. |
Application |
Gets the DTE object. |
Count |
Gets the number of CommandBars objects this contains. |
Creator |
Gets the ID of the application. |
DisableAskAQuestionDropdown |
Determines whether the AskAQuestion dropdown is disabled. Always returns |
DisableCustomize |
Determines whether user customizations have been disabled. |
DisplayFonts |
Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns |
DisplayKeysInTooltips |
Determines whether key bindings are displayed in tooltips. |
DisplayTooltips |
Determines whether tooltips are displayed for command bar controls. |
IdsString[Int32, String] |
Get the IDs string. This property is deprecated. |
Item[Object] |
Gets the command bar that matches the given name or index. |
LargeButtons |
Determines whether large buttons are displayed on command bars. Always returns |
MenuAnimationStyle |
Gets or sets the kind of animation style that is used when menus are displayed. Always returns |
Parent |
Gets the parent of the CommandBars object, which is the DTE object. |
TmcGetName[Int32, String] |
Gets the name. This method has been deprecated. |
Methods
add_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler) | |
Add(Object, Object, Object, Object) |
Adds a command bar. |
AddEx(Object, Object, Object, Object, Object) |
Adds a command bar, including its protection level. |
FindControl(Object, Object, Object, Object) |
Finds the command bar control that has the specified characteristics. |
FindControls(Object, Object, Object, Object) |
Finds all the command bar controls that match the given criteria. |
GetEnumerator() |
Gets the enumerator. |
ReleaseFocus() |
Releases the focus on this command bar. |
remove_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler) |
Events
OnUpdate |
Handles the case when the set of command bars is updated. This event is deprecated. |