<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> |