Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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