Skip to main content
Bar

RemoveAction.Kind Property

Gets or sets the type of operation that this RemoveAction object performs.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

[Browsable(false)]
public CollectionActionKind Kind { get; set; }

Property Value

Type Description
DevExpress.Xpf.Bars.CollectionActionKind

A DevExpress.Xpf.Bars.CollectionActionKind enumerator value that specifies the operation type.

Remarks

Depending on the Kind property value, a RemoveAction object can perform three operations.

  • Remove - removes the target bar item (the Element/ElementName property) from the specific container (the Container/ContainerName property).
  • Insert - inserts the target bar item to the specific container. The inserted item will be arranged according to the Index property value.
  • Replace - replaces the target bar item inside the specific container with this item’s copy. Does not add a new item if this container does not originally have the target element.

See the Bar Actions topic to learn more.

See Also