Skip to content

SyncfusionExamples/How-to-disable-a-selection-in-the-xamairn.forms-listview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

How to disable a selection in the xamairn.forms listview?

This example demonstrates how to disable a selection in the xamairn.forms listview by using the SelectionMode property.

Sample

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

Requirements to run the demo

Troubleshooting

Path too long exception

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.

About

This example demonstrates to disable a selection in the xamairn.forms listview.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages