Hi all,
i'm using swipe function but if i use
<TapGestureRecognizer Command="{Binding GoToPageCommand}" CommandParameter="MainPage" NumberOfTapsRequired="1" />
it doesn't work.
if i use
<TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" NumberOfTapsRequired="1" />
it works.
can you help me ? thanks
code:
<syncfusion:SfDataGrid.LeftSwipeTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0"
Text ="RUN"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center"
LineBreakMode ="NoWrap"
BackgroundColor="#ec008c"
TextColor ="White" >
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding GoToPageCommand}" CommandParameter="MainPage" NumberOfTapsRequired="1" />
<TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" NumberOfTapsRequired="1" />
</Label.GestureRecognizers>
</Label>
</Grid>
</DataTemplate>
</syncfusion:SfDataGrid.LeftSwipeTemplate>