BarLinkContainerItem Class
Represents a container of bar item links.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
public class BarLinkContainerItem :
BarItem,
IInplaceLinksHolder,
ILinksHolder,
IMultipleElementRegistratorSupport,
IBarNameScopeSupport,
IInputElement,
IBarsSerializableOwner,
ILogicalChildrenContainer
#Returned By
The BarLinkContainerItemLink.ContainerItem property returns an instance of BarLinkContainerItem.
#Remarks
If you need to display the same group of bar items in two or more places, you can use the BarLinkContainerItem bar item. It represents a container of bar item links.
You can create a BarLinkContainerItem item, populate it with specific item links via the BarLinkContainerItem.ItemLinks collection and then add it to a bar and/or menu. As a result, the contents of the ItemLinks collection will be displayed in the bar/menu. Changes to the BarLinkContainerItem's ItemLinks collection will be in effect in all places where the BarLinkContainerItem has been added.
BarLinkContainerItem objects are displayed on-screen using corresponding bar item links - BarLinkContainerItemLink objects. See Items and Links to learn more.