Xceed DataGrid for WPF v7.2 Documentation
AllowDrag Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : AllowDrag Property

Gets or sets a value indicating whether an effect occurs when the user attempts to perform a drag operation within the DataGrid. The default behavior allows selected rows to be dragged to a target host, such as Excel, in order to copy the data directly without the user having to perform an explicit copy/paste.

Drag can also be activated in order to select rows or cells within the DataGrid. See DataGridControl.DragBehavior property.


Syntax
'Declaration
 
Public Property AllowDrag As Boolean
'Usage
 
Dim instance As DataGridControl
Dim value As Boolean
 
instance.AllowDrag = value
 
value = instance.AllowDrag
public bool AllowDrag {get; set;}

Property Value

true to enable the specified drag behavior; false otherwise. By default, false.

Requirements

See Also

Reference

DataGridControl Class
DataGridControl Members