Skip to main content
A newer version of this page is available. .
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.v18.2.dll

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