Back to Devexpress

BeforeItemDropEventArgs.NewGroupRowHandle Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-beforeitemdropeventargs-0143f4dd.md

latest2.7 KB
Original Source

BeforeItemDropEventArgs.NewGroupRowHandle Property

Gets the handle of the group to which the tile is dropped.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
Int32

A negative zero-based integer that identifies the group. -2147483648 if the TileView is not grouped.

|

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

csharp
that are already in the target group */
if(e.NewGroupRowHandle != GridControl.InvalidRowHandle) {
    int childRowCount = view.GetChildRowCount(e.NewGroupRowHandle);

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

vb
' that are already in the target group
If e.NewGroupRowHandle <> GridControl.InvalidRowHandle Then
    Dim childRowCount As Integer = view.GetChildRowCount(e.NewGroupRowHandle)

See Also

BeforeItemDropEventArgs Class

BeforeItemDropEventArgs Members

DevExpress.XtraGrid.Views.Tile Namespace