LeftSwipeTemplate Property (SfDataGrid)

Gets or sets the left swipe template to be displayed when swiping from 'left to right'. SfDataGrid enables you to load a desired Content to be displayed when swiping towards right using this property. The swipe views will be displayed only when AllowSwiping is set as true.
public Xamarin.Forms.DataTemplate LeftSwipeTemplate {get; set;}

Property Value

The template that is displayed when left swipe action is performed.
When swiping is enabled in SfDataGrid, the swipe view can be displayed when swiping from ‘left to right’ or ‘right to left’ on a data row. SfDataGrid allows the user to customize the swipe views to be displayed by using LeftSwipeTemplate and RightSwipeTemplate. The swipe gesture can be restricted up to a certain point by using MaxSwipeOffset property. The contents inside the swipe template are arranged based on the offset values when you swipe a data row.
dataGrid.LeftSwipeTemplate = new DataTemplate(() =>

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also