Skip to content

Commit 8178f6a

Browse files
Merge pull request #2 from Anandh-SF4665/master
Updated README.md file
2 parents 60c26a7 + f028f24 commit 8178f6a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# How to disable a selection in the xamairn.forms listview?
22
This example demonstrates how to disable a selection in the xamairn.forms listview by using the SelectionMode property.
33

4+
## Sample
5+
6+
```xaml
7+
<Grid>
8+
<syncfusion:SfListView x: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+
428
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.
529
## <a name="requirements-to-run-the-demo"></a>Requirements to run the demo ##
630

0 commit comments

Comments
 (0)