Back to Devexpress

ToolboxDragItemStartEventArgs.Handled Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxdragitemstarteventargs-10afa5f2.md

latest1.8 KB
Original Source

ToolboxDragItemStartEventArgs.Handled Property

Gets or sets whether an event was handled; if handled, the default actions are not required.

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public bool Handled { get; set; }
vb
Public Property Handled As Boolean

Property Value

TypeDescription
Boolean

true if the default actions are not required; otherwise, false.

|

Remarks

If the Handled property is set to false , the default item painting is used during a drag-and-drop operation. In this case, the item icon (see ToolboxElementBase.ImageOptions) is displayed being dragged after the mouse pointer. Set the Handled property to true and provide a custom icon using the ToolboxDragItemStartEventArgs.Image property to perform custom item painting during a drag-and-drop operation.

See Also

Image

ToolboxDragItemStartEventArgs Class

ToolboxDragItemStartEventArgs Members

DevExpress.XtraToolbox Namespace