RowDragDropTemplate Property

Gets or sets the template to be displayed when row drag and drop action is performed. SfDataGrid allows the user to load a desired Content when performing row drag and drop operation using this property. To enable row drag and drop, it is mandatory to set AllowDraggingRow to true.
public Xamarin.Forms.DataTemplate RowDragDropTemplate {get; set;}

Property Value

The template that is displayed when row drag and drop action is done.
SfDataGrid allows you to drag and drop a row by setting the AllowDraggingRow property to true. A customizable row drag and drop template is displayed while dragging a row. The default template will be displayed, if row drag and drop template is empty. The drag and drop operation can be handled based on the requirement using QueryRowDragging event.
dataGrid.RowDragDropTemplate = new DataTemplate(() => { return new RowTemplate(); });
public class RowTemplate : Grid

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also