RemoveBarItemAction Class
Removes a bar item from the BarManager.Items collection.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoveBarItemAction class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.