Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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