Represents the submenu that can be dropped down when part of a tool bar or another submenu in the XP Menus framework or when associated with a PopupMenu.
For a list of all members of this type, see ParentBarItem Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Syncfusion.Windows.Forms.Tools.XPMenus.BarItem
Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem
Syncfusion.Windows.Forms.Tools.XPMenus.ToolbarListBarItem
[Visual Basic] Public Class ParentBarItem Inherits BarItem Implements IDesignable, IDeserializationCallback, IIgnoreWorkingArea [C#] public class ParentBarItem : BarItem, IDesignable, IDeserializationCallback, IIgnoreWorkingArea [C++] public __gc class ParentBarItem : public BarItem, IDesignable, IDeserializationCallback, IIgnoreWorkingArea [JScript] public class ParentBarItem extends BarItem, IDesignable, IDeserializationCallback, IIgnoreWorkingArea
The Items property of this class lets you add BarItems to this ParentBarItem.
The MergeItems function allows you to merge two ParentBarItems together.
You can turn on partial menus behavior by setting the UsePartialMenus property to true.
You can also make the ParentBarItem act like a Checked-ListBox by setting the CloseOnClick property to false.
Note that when you call Dispose on the ParentBarItem object, it will not automatically dispose the BarItems in its Items collection. You will have to manually call Dispose on the children yourself, if necessary.
Take a look at our XPMenus samples under the Tools\Samples\Menus Package folder for usage example.
Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows (in Syncfusion.Tools.Windows.dll)
ParentBarItem Members | Syncfusion.Windows.Forms.Tools.XPMenus Namespace