Syncfusion.SfDataGrid.XForms
Example 
Syncfusion.SfDataGrid.XForms Namespace > SfDataGrid Class : GridLongPressedCommand Property

GridLongPressedCommand Property

Gets or sets the command to be executed when an end-user long Press on the SfDataGrid.
Syntax
public ICommand GridLongPressedCommand {get; set;}

Property Value

The command to be executed when LongPress action is performed on SfDataGrid.
Example
<ContentPage.BindingContext>
<local:ViewModel x:Name="viewModel" />
</ContentPage.BindingContext>
<syncfusion:SfDataGrid x:Name="dataGrid"  
                   GridLongPressedCommand="{Binding LongPressedCommand}"
</syncfusion:SfDataGrid>
</sfgrid:SfDataGrid>
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also