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

RemoveBarItemLinkAction Class

Removes a specific link from the bar item link collection of a target object (a bar, a menu, etc.).

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

[Browsable(false)]
public class RemoveBarItemLinkAction :
    UpdateBarItemLinkActionBase

#Remarks

This action removes a link from a target object’s bar item link collection. The link can be addressed by its name (UpdateBarItemLinkActionBase.ItemLinkName) or index (BarItemLinkActionBase.ItemLinkIndex) in the collection.

The target object (a bar, menu, etc) is specified by the BarItemLinkActionBase.Target or BarItemLinkActionBase.TargetType property.

<!--Remove the first link in the barStatusBar bar-->
<dxb:BarManagerActionContainer>
    <dxb:RemoveBarItemLinkAction ItemLinkIndex="0" Target="barStatusBar"/>
<!--...-->

See Bar Actions to learn more.

#Implements

See Also