windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-beforeitemdropeventargs-167428b0.md
Gets the tile’s new index in the data source at which the tile is about to be inserted.
Namespace : DevExpress.XtraGrid.Views.Tile
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public int NewListSourceRowIndex { get; set; }
Public Property NewListSourceRowIndex As Integer
| Type | Description |
|---|---|
| Int32 |
The tile’s new index in the data source at which the tile is about to be inserted.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NewListSourceRowIndex property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-reorder-tileview-cards-sql/CS/Reorder/Form1.cs#L25
// Leave data source indexes as is
e.NewListSourceRowIndex = e.ListSourceRowIndex;
winforms-grid-reorder-tileview-cards-sql/VB/Reorder/Form1.vb#L24
' Leave data source indexes as is
e.NewListSourceRowIndex = e.ListSourceRowIndex
Dim view = TryCast(sender, TileView)
See Also