DragDropBehavior.Create(Type, Boolean, Boolean, Boolean, Boolean, DragDropEvents) Method
Returns a new Drag-and-Drop Behavior. 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 static DragDropBehavior Create(
Type dragDropBehaviorSourceType,
bool previewVisible = true,
bool insertIndicatorVisible = true,
bool allowDrop = true,
bool allowDrag = true,
DragDropEvents events = null
)
#Parameters
Name | Type | Description |
---|---|---|
drag |
Type | The Type of the control to which the Behavior is attached. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
preview |
Boolean | True | true to show a preview of dragged data elements; otherwise, false. |
insert |
Boolean | True | true to show where dragged data elements will be inserted; otherwise, false. |
allow |
Boolean | True | true to allow users to drop data elements on the attached control; otherwise, false. |
allow |
Boolean | True | true to allow users to drag data elements from the attached control; otherwise, false. |
events | Drag |
null | A Drag |
#Returns
Type | Description |
---|---|
Drag |
A Drag |