Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150818 | Jan 21,2020 08:39 AM UTC | Feb 6,2020 10:47 AM UTC | Xamarin.Forms | 6 |
![]() |
Tags: SfListView |
<syncfusion:AccordionItem.Content>
<Grid x:Name="mainGrid" BackgroundColor="#F0F0F0" Padding="4" HeightRequest="700">
<sflistview:SfListView x:Name="listView" FocusBorderThickness="0" IsScrollBarVisible="False" ItemSize=" 80" BackgroundColor="LightGray"
ItemSpacing="3" ItemsSource="{Binding ContactsInfo}">
<sflistview:SfListView.ItemTemplate>
<DataTemplate>
<StackLayout BackgroundColor="DarkOliveGreen" >
<Label VerticalOptions="Center" TextColor="White" HorizontalOptions="Center" Text="{Binding ContactName}">
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding Path=BindingContext.TapCommand, Source={x:Reference Accordion}}" CommandParameter="{Binding .}" />
</Label.GestureRecognizers>
</Label>
</StackLayout>
</DataTemplate>
</sflistview:SfListView.ItemTemplate>
</sflistview:SfListView>
</Grid>
</syncfusion:AccordionItem.Content> |
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.