Back to Devexpress

BeforeDragNodeEventArgs.PreviewImage Property

windowsforms-devexpress-dot-xtratreelist-dot-beforedragnodeeventargs-a61b05ca.md

latest1.7 KB
Original Source

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

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

Declaration

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

Property Value

TypeDescription
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.

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

See Also

BeforeDragNodeEventArgs Class

BeforeDragNodeEventArgs Members

DevExpress.XtraTreeList Namespace