wpf-devexpress-dot-xpf-dot-bars-a803eb8f.md
Adds a bar item to the BarManager.Items collection.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
[Browsable(false)]
public class AddBarItemAction :
InsertBarItemAction
<Browsable(False)>
Public Class AddBarItemAction
Inherits InsertBarItemAction
Use the inherited InsertBarItemAction.Item property to specify the item to be added to the BarManager.Items collection.
The following code shows how to use an AddBarItemAction object:
<dxb:AddBarItemAction>
<dxb:AddBarItemAction.Item>
<dxb:BarButtonItem x:Name="myBarItem"/>
</dxb:AddBarItemAction.Item>
</dxb:AddBarItemAction>
See Bar Actions to learn more.
Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement BarManagerControllerActionBase InsertBarItemAction AddBarItemAction
See Also