Skip to main content
Bar

ReplaceAction Class

Replaces a specific bar or ribbon item with an item, stored within this action’s Content property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public class ReplaceAction :
    InsertAction

Remarks

Create a new instance of the ReplaceAction class and set its ElementName property to specify what item should be replaced. Setting the optional ContainerName property allows you to replace an item within one specific container only.

See Bar Actions to learn more.

Implements

See Also