Skip to main content

BeforeDragNodeEventArgs.PreviewImage Property

Gets or sets the image displayed near the mouse cursor during a drag-and-drop operation.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public Image PreviewImage { get; set; }

Property Value

Type Description
Image

An Image object specifying the image displayed near the mouse cursor during a drag-and-drop operation.

Remarks

By default, a preview image of the nodes being dragged is displayed near the mouse cursor during a drag-and-drop operation. See an example below.

BeforeDragNodeEventArgs_PreviewImage

Using the PreviewImage property, you can provide a custom preview image that replaces the default image.

See Also