Skip to content

Commit

Permalink
Added DataTemplate.Syncfusion.Swipe.Export
Browse files Browse the repository at this point in the history
Fixed #582
  • Loading branch information
AndreasReitberger committed Nov 12, 2024
1 parent d615db0 commit 493b867
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,26 @@
</Label>
</DataTemplate>

<DataTemplate x:Key="DataTemplate.Syncfusion.Swipe.Export">
<Label
Style="{StaticResource Style.Core.Label.Icon.MaterialDesign}"
Text="{x:Static icons:MaterialIcons.FileExplorer}"
TextColor="{StaticResource White}"
VerticalTextAlignment="Center"
HorizontalTextAlignment="Center"
Background="{StaticResource Yellow}"
Margin="0"
>
<Label.GestureRecognizers>
<TapGestureRecognizer
NumberOfTapsRequired="1"
Command="{Binding BindingContext.ExportItemCommand, Source={x:RelativeSource AncestorType={x:Type listView:SfListView}, AncestorLevel=1}}"
CommandParameter="{Binding .}"
/>
</Label.GestureRecognizers>
</Label>
</DataTemplate>

<!-- Double Swipe Templates -->
<DataTemplate x:Key="DataTemplate.Syncfusion.Swipe.EditDelete">
<Grid
Expand Down

0 comments on commit 493b867

Please sign in to comment.