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.v20.1.dll

Declaration

public class ReplaceAction :
    InsertAction
Public Class ReplaceAction
    Inherits 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