Skip to main content
Bar

BarItem.CreateLink() Method

Creates a link that refers to the current item.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

#Returns

Type Description
BarItemLink

A BarItemLink object that represents a link to the current item.

#Remarks

To add a bar item to a bar, first a link object must be created. Use the CreateLink method to create a link to the current bar item.

Once a link has been created, it can be added to a bar via the bar's inherited BarItemLinkHolderBase.ItemLinks collection.

To learn more, see Items and Links.

See Also