Skip to main content

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

DiagramItemBoundsChangedEventArgs.OldIndex Property

Gets the previous item’s index within the Items collection of its parent.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

public int OldIndex { get; }

#Property Value

Type Description
Int32

The item’s index.

#Remarks

If the item was contained in a container, the OldIndex property returns the index within this container’s DiagramContainer.Items collection. Otherwise, it returns the index within the DiagramControl.Items collection. The DiagramItemBoundsChangedEventArgs.OldParent event’s property returns the item’s previous parent.

See Also