Skip to main content

DragDropBehaviorProperties.Events Property

Provides access to the Drag-and-Drop Behavior events. For internal use.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public DragDropEvents Events { get; set; }

Property Value

Type Description
DragDropEvents

A DragDropEvents object that contains the Drag-and-Drop Behavior events.

Remarks

The DragDropEvents component is automatically added to your form when you attach the Drag-and-Drop Behavior to a control in the designer. You can find the component’s name in the Behavior editor’s Properties section.

BehavoirManager_Designer

You can add event handlers in the designer or in code.

DragndropEvents

dragDropEvents1.DragDrop += dragDropEvents1_DragDrop;
dragDropEvents1.DragOver += dragDropEvents1_DragOver;

If you attach the Behavior in code, the DragDropEvents component is not added to the form. Use the DragDropBehavior events to customize drag-and-drop operations in this case.

See Also