TileItemDragEventArgs.TargetGroup Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public TileGroup TargetGroup { get; protected set; }
Public Property TargetGroup As TileGroup

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