Skip to main content
Bar

RemoveBarItemAction Class

Removes a bar item from the BarManager.Items collection.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

[Browsable(false)]
public class RemoveBarItemAction :
    BarItemActionBase

Remarks

A bar item to be removed can be specified via the inherited BarItemActionBase.ItemName or BarItemActionBase.ItemIndex property. The BarItemActionBase.ItemIndex property is in effect if the BarItemActionBase.ItemName property is not set.

<dxb:BarManagerActionContainer>
    <dxb:RemoveBarItemAction ItemName="btnAbout"/>
    <!--...-->

See Bar Actions to learn more.

Implements

See Also