Skip to main content

TileItemDragEventArgs.TargetGroup Property

Gets the TileGroup to which a TileItem being dragged is about to be placed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public TileGroup TargetGroup { get; protected set; }

Property Value

Type Description
TileGroup

A TileGroup in which the current Tile is about to be placed.

Remarks

If the TileControl.AllowDrag property equals true, end-users can drag tiles to create new TileGroups or re-arrange existing ones. Handle the TileControl.EndItemDragging event to check which Tile is being dragged, get its source and destination groups, and if required, cancel item dragging.

The TargetGroup property returns null if the Tile was dragged into empty space, which should result in creating a new TileGroup that currently does not exist.

See Also