CommandBarManager Class Members
The following tables list the members exposed by CommandBarManager.
Public Properties
Name | Description | |
---|---|---|
AllowCustomization | Gets or sets the default Customization status for all CommandBars belonging to the CommandBarManager; | |
CommandBars | Gets the collection of CommandBar objects currently managed by the CommandBarManager. | |
Controls | Gets a Hashtable which contains controls to use for controls containers. | |
CustomizationType | Gets or sets the type of customization. | |
DisableClickEvents | Flag to disable click events. | |
Enabled | Get or sets a property which controls the enabled state of all CommandBars. | |
Instance | Returns implementation of this class. | |
IsInEditMode | Informs if a control is currently in edit mode. | |
IsUpdating | Gets whether the CommandBarManager is currently in update mode. (i.e. BeginInit() has been called) | |
MenuBar | Gets the CommandBar object that represents the Main Menu Bar. | |
MenuToolOptionSets | MenuTool OptionSets. | |
MiniToolbarTools | Gets the MiniToolbar element. | |
Ribbon | Gets the Ribbon object that represents the Office Ribbon. | |
RootTools | Gets the collection of RootTool objects currently managed by the CommandBarManager. | |
Style | Gets or sets a value that specifies the style of all CommandBars, PopupMenuTools, and tools. | |
SuppressTooltips | Informs if tooltips should not be shown. |
Public Methods
Name | Description | |
---|---|---|
AddMenuItem | Add menu item in correct position. | |
AddOptionSet | Create a new OptionSet identified by the specified Key An OptionSet is a set of StateButtonTools (a radio group) where at most one of the tools can can be in the Down (pressed) state. | |
AddUICustomizationFile | Adds a new UI Customization file. | |
AddUICustomizationFromStream | Adds a new UI Customization from the given stream. | |
AddUICustomizationSet | Adds a set of UI Customization files. | |
BeginInit | ISupportInitialize allows controls to optimize for multiple sets to properties. As a result, you can initialize co-dependent properties or batch set multiple properties at design time. Signal the object that initialization is starting. | |
BeginUpdate | Signal the object that updating is starting. | |
ClearXmlDefinitions | Clears all XML definitions. | |
DeleteEmptyCommandBars | Delete any command bars that have no tools. | |
DisableBackStageBackButton | filters Backstage back button | |
EndInit | ISupportInitialize allows controls to optimize for multiple sets to properties. As a result, you can initialize co-dependent properties or batch set multiple properties at design time. Signal that initialization is complete. | |
EndUpdate | Signal that updating is complete. | |
HideApplicationMenu | Hide the application menu (Backstage View) | |
HideGallery | Hide the given gallery. | |
HideWheel | Hide the given wheel. | |
LoadLayout | Load the saved command CommandBars layout from a settings file. | |
LoadUI | Overloaded. Creates the Menus,CommandBars and ContextMenus defined by the loaded UICustomization files. | |
RaiseUILoaded | Raise UI loaded event. | |
RebuildWheel | Rebuild an existing wheel for the given menu. | |
SaveLayout | Save the current command CommandBars layout to a settings file. | |
SelectTaskPane | Select the task-pane with the given key. | |
SetUicPaths | Set the set of directories to search for uic files. | |
ShowApplicationMenu | Show the application menu (Backstage View) | |
ShowCustomizeDialog | Show the Customization dialog. | |
ShowGallery | Show the given galleryTool as a gallery at the current cursor position. | |
ShowMiniToolbar | Overloaded. Shows the mini toolbar to the user. | |
ShowWheel | Show the given menu as a wheel at the current cursor position. | |
SuppressToolTipsShowing | Suppress ToolTips from showing. | |
WheelClosed | Determine if wheel is closed | |
WheelContextMenuShown | Determine if wheel context menu is shown if so disable tooltips. | |
WheelShown | Determine if wheel is shown if so disable tooltips. |
Public Events
Name | Description | |
---|---|---|
CommandBarLayoutLoaded | Event raised when the commandBar layout is loaded. | |
EditModeChanged | Event raised when edit mode changes. | |
ToolTipsShowing | Event raised when tooltips are shown. | |
UILoaded | Event raised when the UI (Menus,CommandBars and ContextMenus) have finished loading after a call to LoadUI(). | |
WheelClosing | Event raised just before a wheel is closed. | |
WheelContextMenuShowing | Event raised just before a wheel context menu is shown. | |
WheelShowing | Event raised just before a wheel is shown. |
See Also