Back to Devexpress

ToolboxDragItemStartEventArgs.Image Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxdragitemstarteventargs-70c5b9dd.md

latest2.0 KB
Original Source

ToolboxDragItemStartEventArgs.Image Property

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

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Image

An Image object that specifies the image displayed near the mouse cursor during drag-and-drop operations.

|

Remarks

If an item being dragged has an icon (see ToolboxElementBase.ImageOptions), it is displayed near the mouse pointer during the drag-and-drop operation. Using the Image property, you can provide a custom image that replaces the item icon. Note that for this property to be in effect, the ToolboxDragItemStartEventArgs.Handled property should be set to true.

See Also

Handled

ImageOptions

ToolboxDragItemStartEventArgs Class

ToolboxDragItemStartEventArgs Members

DevExpress.XtraToolbox Namespace