Common Application Framework

CommandBarManager Members

CommandBarManager overview

Public Static Properties

Instance Get instance of commandbar manager

Public Instance Properties

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.
CustomizationDialog Gets the non standard customization dialog.
CustomizationType Gets or sets the type of customization.
Enabled Get or sets a property which controls the enabled state of all CommandBars
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.
RootTools Gets the collection of RootTool objects currently managed by the CommandBarManager.

Public Instance Methods

AddOptionSet Create a new OptionSet indentified 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.
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.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
LoadLayout Load the saved command CommandBars layout from a sttings file.
LoadUI Creates the Menus,CommandBars and ContextMenus defined by the loaded UICustomization files.
SaveLayout Save the current command CommandBars layout to a sttings file.
SelectTaskPane Select the taskpane with the given key
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

CommandBarLayoutLoaded Event raised when the commandBar layout is loaded
UILoaded Event raised when the UI (Menus,CommandBars and ContextMenus) have finished loading after a call to LoadUI().

See Also

CommandBarManager Class | Aveva.ApplicationFramework.Presentation Namespace