This example demonstrates how to disable a selection in the xamairn.forms listview by using the SelectionMode property.
<Grid>
<syncfusion:SfListView x:Name="listView"
ItemSize="70"
SelectionMode="None"
ItemsSource="{Binding ContactsInfo}">
<syncfusion:SfListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<code>
. . .
. . .
<code>
</ViewCell.View>
</ViewCell>
</DataTemplate>
</syncfusion:SfListView.ItemTemplate>
</syncfusion:SfListView>
</Grid>
See How to disable a selection in the xamairn.forms listview for more details.
- Visual Studio 2017 or Visual Studio for Mac.
- Xamarin add-ons for Visual Studio (available via the Visual Studio installer).
If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.