Skip to main content
Bar

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public IBarItemLinkControl LinkControl { get; }

Property Value

Type Description
DevExpress.Xpf.Bars.IBarItemLinkControl

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

Remarks

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