Skip to main content
Bar

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