BCGSoft.ControlBars Namespace : MenuBar Class |
This object represents a main menu bar. It inherits from the toolbar class. A menu bar is a special type of toolbar. It represents a menu bar for application. If menu bar is associated with a MDI container, it tracks state of MDI child windows and displays additional minimize, restore and close buttons. A menu bar can behave as a regular toolbar, but it's property ExclusiveRow is true by default. The MenuBar object is serializable. We can load from the xml-file it’s state, button collection, layout, Visual Style.
The MenuBar class encapsulates the functionality of Windows menu and docking toolbar. It provides member functions for creating from the standard Windows menu, layout calculation, tracking dynamic changes in the default menu, loading and saving it's state.'Declaration Public Class MenuBar Inherits Toolbar Implements BCGSoft.Controls.Shared.IToolTipInfoProvider, BCGSoft.Shared.IFirstPriorityMessageFilter
'Usage Dim instance As MenuBar
public class MenuBar : Toolbar, BCGSoft.Controls.Shared.IToolTipInfoProvider, BCGSoft.Shared.IFirstPriorityMessageFilter
public __gc class MenuBar : public Toolbar, BCGSoft.Controls.Shared.IToolTipInfoProvider, BCGSoft.Shared.IFirstPriorityMessageFilter
public ref class MenuBar : public Toolbar, BCGSoft.Controls.Shared.IToolTipInfoProvider, BCGSoft.Shared.IFirstPriorityMessageFilter
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
BCGSoft.Controls.Shared.CommandPanel
BCGSoft.ControlBars.CommandBar
BCGSoft.ControlBars.Toolbar
BCGSoft.ControlBars.MenuBar
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2