Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147319 | Sep 5,2019 10:23 PM UTC | Apr 5,2021 11:45 AM UTC | Xamarin.Forms | 8 |
![]() |
Tags: SfListView |
<listView:SfListView.ItemTemplate>
<DataTemplate>
<MyControls:MyButtonListButton Text="{Binding Description}" Command="{Binding Path=BindingContext.ToggleItemCommand, Source={x:Reference selectedChildBucketItems}}" CommandParameter="{Binding .}" IsToggled="{Binding IsSelected, Mode=TwoWay, Converter={StaticResource nullableBoolConverter}}" FontSize="18" FontFamily="Arial"/>
</DataTemplate>
</listView:SfListView.ItemTemplate> |
<listView:SfListView x:Name="selectedChildBucketItems">
<listView:SfListView.ItemTemplate>
<DataTemplate>
<button:SfButton CommandParameter="{Binding}"
Command="{Binding BindingContext.EntryCommand, Source={x:Reference x:Reference selectedChildBucketItems }}"
ImageSource="{Binding entryImage, Mode=TwoWay}" ImageWidth="130" ShowIcon="True" ImageAlignment="Bottom"
HeightRequest="160" HasShadow="False"
BackgroundImage="buttonbg.png" BackgroundColor="Transparent" CornerRadius="50"
WidthRequest="160" Margin="0" Padding="0" />
</DataTemplate>
</listView:SfListView.ItemTemplate>
</listView:SfListView> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.