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.v20.1.dll

Declaration

public IBarItemLinkControl LinkControl { get; }
Public ReadOnly Property LinkControl As IBarItemLinkControl

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