Back to Devexpress

TileView.ItemDrop Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-cba7bddc.md

latest3.5 KB
Original Source

TileView.ItemDrop Event

Fires after a tile drop operation has been completed. This event does not fire when you enable drag-and-drop using Drag And Drop Behavior.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Action")]
public event TileViewItemDropEventHandler ItemDrop
vb
<DXCategory("Action")>
Public Event ItemDrop As TileViewItemDropEventHandler

Event Data

The ItemDrop event's data class is ItemDropEventArgs. The following properties provide information specific to this event:

PropertyDescription
GroupColumnValueGets the value of the current group (the TileViewColumns.GroupColumn‘s value) to which the tile has been dropped.
ListSourceRowIndexGets the tile’s index in the data source.
PrevGroupColumnValueGets the value of the group (the TileViewColumns.GroupColumn‘s value) from which the tile was originally dragged.
PrevListSourceRowIndexGets the tile’s previous index in the data source.
RowHandleGets the row handle of the tile.

Remarks

Use the TileView.OptionsDragDrop.AllowDrag setting to enable the built-in tile drag-and-drop feature.

Handle the ItemDrop event to perform additional customization of a tile after it has been dropped. The event’s parameters allow you to identify the previous and current position of the tile and the underlying data record.

See Also

AllowDrag

AllowItemDrag

DropTargetGroups

BeforeItemDrag

BeforeItemDrop

ItemDrag

ItemDrop

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace