A newer version of this page is available. Switch to the current version.

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


public class RemoveBarItemLinkAction :


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:RemoveBarItemLinkAction ItemLinkIndex="0" Target="barStatusBar"/>

See Bar Actions to learn more.


See Also