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

AddBarItemAction Class

Adds a bar item to the BarManager.Items collection.

Namespace: DevExpress.Xpf.Bars

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

Declaration

[Browsable(false)]
public class AddBarItemAction :
    InsertBarItemAction

Remarks

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.

Implements

See Also