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

RemoveAction.Kind Property

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

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.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