wpf-devexpress-dot-xpf-dot-bars-39c803c5.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public class ReplaceAction :
InsertAction
Public Class ReplaceAction
Inherits InsertAction
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.
Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement BarManagerControllerActionBase DevExpress.Xpf.Bars.CollectionAction InsertAction ReplaceAction
See Also