Skip to main content
net6.0net6.0-android30.0net6.0-ios13.6net6.0-maccatalyst13.5

This package provides the functionality to utilize the features of Syncfusion .NET Maui ListView control and more.

Published
Jan 11, 2022
4y ago
Total Downloads
1.8M
1,793,691

Install

dotnet add package Syncfusion.Maui.ListView --version 19.4.42-preview
ProductVersions
.NET
net6.0net6.0-android30.0net6.0-ios13.6net6.0-maccatalyst13.5

README

The Syncfusion.Maui.ListView package contains the Syncfusion ListView component for .NET MAUI application.SfListView for MAUI is presenting a set of data items in different layouts or views. It can be used to easily visualize your items in groups, sorted and filtered in accordance with your criteria.

Prerequisites

Integrated Development Environment

By using the following IDEs, you can develop .NET MAUI applications

Framework & SDK

The below tool is required to run the .NET MAUI application.

  • .NET 6.0 SDK
  • Android 5.0 (API 21) or higher.
  • iOS 10 or higher.
  • macOS 10.13 or higher.

Key Features

  • Optimized view reusing strategy for enhanced performance.
  • Item templating for rich UI(User Interface).
  • Supports dynamic selection of UI for each item using the DataTemplateSelector.
  • AutoFit items based on the content of ItemTemplate.
  • Supports linear layout and grid layout.
  • Data operations such as sorting, grouping, and filtering.
  • Customizable group header with option to stick in view.
  • Selection with different selection modes and gestures.

Getting Started

To initialize the ListView control add the below code to your xaml file.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ListViewMauiSample.GettingStartedDemo"
             xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
			 xmlns:local="clr-namespace:ListViewMauiSample"
             xmlns:listView="http://schemas.syncfusion.com/maui"
             BackgroundColor="White">
	<ContentPage.BindingContext>
        <local:BookInfoRepository/>
    </ContentPage.BindingContext>
	<ContentPage.Content>
        	<listView:SfListView x:Name="listView"  Grid.Row="1"
                           SelectionMode="Single"
                           AllowGroupExpandCollapse="True"
                           ItemsSource="{Binding BookInfo}">
			<listView:SfListView.ItemTemplate>
                		<DataTemplate>
                    			<Label x:Name="label" Text="{Binding BookName}" TextColor="Black" VerticalTextAlignment="Center"
                       				FontAttributes="Bold"/>
                		</DataTemplate>
            		</listView:SfListView.ItemTemplate>		   
        	</listView:SfListView>
    </ContentPage.Content>
</ContentPage>

For other features code snippet, please check this documentation link

Resources

Support and feedback

License

This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (MAUI, Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.



© Copyright 2021 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

Changes from Previous Version

v19.4.41-previewv19.4.42-preview
Added Frameworks
net6.0net6.0-android30.0net6.0-ios13.6net6.0-maccatalyst13.5
Added Dependencies
Microsoft.Maui.Dependencies(net6.0-android30.0)
Syncfusion.Maui.Core(net6.0-android30.0)
Syncfusion.Maui.DataSource(net6.0-android30.0)
Syncfusion.Maui.GridCommon(net6.0-android30.0)
Syncfusion.Maui.Core(net6.0-ios13.6)
Microsoft.Maui.Dependencies(net6.0-maccatalyst13.5)
Syncfusion.Maui.Core(net6.0-maccatalyst13.5)
Syncfusion.Maui.DataSource(net6.0-maccatalyst13.5)
+1 more

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 16 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.