You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,30 @@
1
1
# How to disable a selection in the xamairn.forms listview?
2
2
This example demonstrates how to disable a selection in the xamairn.forms listview by using the SelectionMode property.
3
3
4
+
## Sample
5
+
6
+
```xaml
7
+
<Grid>
8
+
<syncfusion:SfListViewx:Name="listView"
9
+
ItemSize="70"
10
+
SelectionMode="None"
11
+
ItemsSource="{Binding ContactsInfo}">
12
+
<syncfusion:SfListView.ItemTemplate>
13
+
<DataTemplate>
14
+
<ViewCell>
15
+
<ViewCell.View>
16
+
<code>
17
+
. . .
18
+
. . .
19
+
<code>
20
+
</ViewCell.View>
21
+
</ViewCell>
22
+
</DataTemplate>
23
+
</syncfusion:SfListView.ItemTemplate>
24
+
</syncfusion:SfListView>
25
+
</Grid>
26
+
```
27
+
4
28
See [How to disable a selection in the xamairn.forms listview](https://www.syncfusion.com/kb/9982/how-to-disable-a-selection-in-the-xamairn-forms-listview) for more details.
5
29
## <aname="requirements-to-run-the-demo"></a>Requirements to run the demo ##
0 commit comments