Skip to main content
A newer version of this page is available. .
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.v19.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ReplaceAction 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.

Implements

See Also