Back to Devexpress

DragObjectStartEventArgs.Allow Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-dragobjectstarteventargs-40519d00.md

latest1.5 KB
Original Source

DragObjectStartEventArgs.Allow Property

Gets or sets whether the drag and drop operation can be started.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Boolean

true if the end-user can start drag and drop; otherwise, false.

|

Remarks

You can use the Allow property to prevent dragging by setting the property to false.

See Also

DragObject

DragObjectStartEventArgs Class

DragObjectStartEventArgs Members

DevExpress.XtraGrid.Views.Base Namespace