Back to Devexpress

BeforeItemDropEventArgs.RowHandle Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-beforeitemdropeventargs-13ff51d1.md

latest2.9 KB
Original Source

BeforeItemDropEventArgs.RowHandle Property

Gets the current row handle of the tile.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public int RowHandle { get; }
vb
Public ReadOnly Property RowHandle As Integer

Property Value

TypeDescription
Int32

The current row handle of the tile.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowHandle 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#L43

csharp
// Assign the TargetIndexInGroup value to the "IndexInGroup" cell of the dragged card
view.SetRowCellValue(e.RowHandle, column, e.TargetIndexInGroup);
// Assign the new "colGroupId" column value to the dragged card

winforms-grid-reorder-tileview-cards-sql/VB/Reorder/Form1.vb#L40

vb
' Assign the TargetIndexInGroup value to the "IndexInGroup" cell of the dragged card
view.SetRowCellValue(e.RowHandle, column, e.TargetIndexInGroup)
' Assign the new "colGroupId" column value to the dragged card

See Also

IsTileVisible(Int32)

BeforeItemDropEventArgs Class

BeforeItemDropEventArgs Members

DevExpress.XtraGrid.Views.Tile Namespace