windowsforms-devexpress-dot-xtrabars-48fc9d1b.md
Represents a link container.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public class BarLinkContainerItem :
BarCustomContainerItem,
BarLinksHolder,
IOptionsMultiColumnOwner,
IXtraSerializationIdProvider,
IXtraCollectionDeserializationOptionsProvider,
IXtraSupportDeserializeCollection
Public Class BarLinkContainerItem
Inherits BarCustomContainerItem
Implements BarLinksHolder,
IOptionsMultiColumnOwner,
IXtraSerializationIdProvider,
IXtraCollectionDeserializationOptionsProvider,
IXtraSupportDeserializeCollection
Use the BarLinkContainerItem item to represent a group of item links. This can be useful if you need to display specific bar items within multiple menus.
BarLinkContainerItem item.BarLinkContainerItem item to a toolbar or menu.At design time, the BarLinkContainerItem item is displayed as a single entry. The following screenshot displays a BarLinkContainerItem item displayed within a menu (at design time):
At runtime, the BarLinkContainerItem item is expanded to display its bar item links:
Note
If a BarLinkContainerItem is placed onto a toolbar or Ribbon Control, the BarLinkContainerItem is represented as a submenu.
Use the BarCustomContainerItem.ItemLinks property to add bar item links. At design time, use the BarManager’s Customization Window to add links to the container item.
Important
If you create a bar item in code, associate the bar item with the BarManager or RibbonControl. Use the constructor with the BarManager parameter. To display the bar item within the Ribbon Control, pass the RibbonControl.Manager object as the BarManager parameter.
Object MarshalByRefObject Component BarItem BarCustomContainerItem BarLinkContainerItem BarSubItem
See Also