Back to Devexpress

BarItemLinkBase.LinkControl Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritemlinkbase-4b7d1a5f.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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:

csharp
foreach(BarItemLinkInfo linkInfo in link.LinkInfos) {
    IBarItemLinkControlBase lc = linkInfo.LinkControl;
}

See Also

LinkControlLoaded

BarItemLinkBase Class

BarItemLinkBase Members

DevExpress.Xpf.Bars Namespace