Skip to main content
A newer version of this page is available. .
Bar

BarManager Methods

The component that manages traditional bars and popup menus.
Name Description
About() static Activates the About dialog.
BeginInit() Begins the runtime initialization of the BarManager.
BeginUpdate() Locks the BarManager object by preventing visual updates of the object and its elements until the EndUpdate method is called.
CloseMenus() Closes all dropdown and popup windows that belong to this BarManager.
CreateDesignTimeToolbar() This member supports the internal infrastructure, and is not intended to be used directly from your code.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Customize() Invokes the Customization Form.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndInit() Notifies the component that the initialization has been completed. Inherited from ComponentEditorContainer.
EndUpdate() Unlocks the BarManager object after a call to the BeginUpdate method and causes an immediate visual update.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ForceInitialize() Forces the Bar Manager to create bar item links within the BarManager’s bars and menus.
ForceLinkCreate() Forces the manager to create item links based on bar items.
GetBarItemImages() Returns the SvgImageCollection that contains default images displayed next to different bar item types in “Add New” menus at design time.
GetController() Returns the actual Bar and Docking Controllers (Customizing Default View and Behavior Settings) specifying behavior and appearance settings for the corresponding bars.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetNewBarName() Returns a unique name for a bar which is about to be created.
GetNewItemId() Returns the new unique identifier of an item.
GetPopupContextMenu(Control) Gets the popup menu assigned to a control.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetString(BarString) Returns a localized string for the given string identifier.
GetToolTipController() Returns the actual tooltip controller that controls the behavior and appearance of hints for a container component’s elements. Inherited from ComponentEditorContainer.
GetType() Gets the Type of the current instance. Inherited from Object.
HideCustomization() Hides the Customization Window.
HideToolBarsPopup() Hides the customization menu.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
InternalGetService(Type) This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
LayoutChanged() Forces the BarManager to repaint itself after you have made certain modifications to its layout.
LockFireChanged()
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
PerformClick(BarItem, BarItemLink) Fires the ItemClick events for the specified bar item and its link.
PerformClick(BarItem) Fires the ItemClick events for the specified bar item.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetStyleDefaults() Obsolete. This method is obsolete. Use the BarAndDockingController.ResetStyleDefaults method of a Bar and Docking Controllers (Customizing Default View and Behavior Settings) to restore style settings which depend on the current paint scheme.
ResetUsageData() Clears the record of menu items recently accessed by a user in their application and restores the default set of visible item controls to menus and bars. This action will not undo any explicit customizations.
RestoreFromRegistry() Restores the bars’ layout from the registry.
RestoreFromRegistry(String) Restores the bars’ layout from the registry.
RestoreFromStream(Stream) Restores the bars’ layout from a stream.
RestoreFromXml(String) Restores the BarManager component state from an xml file.
RestoreLayoutFromRegistry() Restores the bars’ layout from the system registry.
RestoreLayoutFromRegistry(String) Restores the bars’ layout from the specified system registry path.
RestoreLayoutFromStream(Stream) Restores the bars’ layout from the specified stream.
RestoreLayoutFromXml(String) Restores the bars’ layout from the specified XML file.
SaveLayoutToRegistry() Saves the bars’ layout to the system registry.
SaveLayoutToRegistry(String) Saves the bars’ layout to the specified system registry path.
SaveLayoutToStream(Stream) Saves the bars’ layout to a stream.
SaveLayoutToXml(String) Saves the bars’ layout to an XML file.
SaveToRegistry() Saves the BarManager component state to the system registry.
SaveToRegistry(String) Saves the BarManager component’s state to the system registry.
SaveToStream(Stream) Saves the BarManager component’s state to a stream.
SaveToXml(String) Saves the BarManager component state to an xml file.
SelectLink(BarItemLink) Selects the specified link.
SetPopupContextMenu(Control, PopupMenuBase) Sets the popup menu for a control within a form.
ShowCustomizationForm() Invokes the Customization Form.
ShowToolBarsPopup() Displays the customization menu.
ShowToolBarsPopup(BarItemLink) Displays the customization menu at the position of the mouse cursor.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
UnlockFireChanged()
UpdateLayout() This member supports the internal infrastructure, and is not intended to be used directly from your code.
See Also