Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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