Skip to main content

BarItemLinkBase.LinkControl Property

Refers to the first LinkControl object which visualizes the current link on-screen. This property makes sense for links within a BarLinkContainerItem.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v23.1.dll

NuGet Package: DevExpress.Wpf.Core


public IBarItemLinkControl LinkControl { get; }

Property Value

Type Description

A DevExpress.Xpf.Bars.IBarItemLinkControl interface implementation that represents the first LinkControl object that visualizes the current link on-screen.


Links are visualized on-screen using LinkControl objects. The LinkControl property refers to the first LinkControl object. Other objects can be obtained via the BarItemLink.LinkInfos property, as follows:

foreach(BarItemLinkInfo linkInfo in link.LinkInfos) {
    IBarItemLinkControlBase lc = linkInfo.LinkControl;
See Also