Back to Devexpress

BeforeItemDragEventArgs.DragImage Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-beforeitemdrageventargs.md

latest1.6 KB
Original Source

BeforeItemDragEventArgs.DragImage Property

Gets or sets the image that represents the tile during the drag-and-drop operation.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public Image DragImage { get; set; }
vb
Public Property DragImage As Image

Property Value

TypeDescription
Image

An image that represents the tile during the drag-and-drop operation.

|

Remarks

When a drag-and-drop operation is initiated, the Tile View generates a drag image from the current tile. This image is moved along with the cursor during drag-and-drop.

The DragImage property initially contains the default drag image. If required, you can replace it with a custom one.

See Also

BeforeItemDragEventArgs Class

BeforeItemDragEventArgs Members

DevExpress.XtraGrid.Views.Tile Namespace