DragDropBehaviorProperties.Events Property
Provides access to the Drag-and-Drop Behavior events. For internal use.
Namespace: DevExpress.Utils.DragDrop
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public DragDropEvents Events { get; set; }
#Property Value
Type | Description |
---|---|
Drag |
A Drag |
#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.
You can add event handlers in the designer or in code.
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.