汉中市网站建设_网站建设公司_页面权重_seo优化
2025/12/25 21:30:38 网站建设 项目流程

项目介绍

Syncfusion Toolkit for .NET MAUI提供高质量的UI控件,帮助你从单个代码库中为iOS、Android、macOS和Windows构建丰富的高性能应用程序。

使用这个工具包,开发人员可以以最小的努力交付美观、功能丰富的应用程序,缩短开发时间,同时确保跨平台的无缝和引人入胜的用户体验。

项目地址

https://github.com/syncfusion/maui-toolkit

本项目采用MIT授权。

文档地址
https://help.syncfusion.com/maui-toolkit/introduction/overview

控件列表

分类 控件 库中名称 表现
数据可视化 Cartesian Charts SfCartesianChart image
Circular Charts SfCircularChart image
Funnel Charts SfFunnelChart image
Polar Charts SfPolarChart image
Pyramid Charts SfPyramidChart image
Spark Charts SfSparkLineChart image
Sunburst Charts SfSunburstChart image
日历 Calendar SfCalendar image
编辑控件 Date Picker ``
Date Time Picker SfDateTimePicker image
Numeric Entry SfNumericEntry image
Numeric Up Down SfNumericUpDown image
OTP Input SfOtpInput image
Picker SfPicker image
Time Picker SfTimePicker image
导航 Bottom Sheet SfBottomSheet image
Navigation Drawer SfNavigationDrawer image
Tab View SfTabView image
布局 Accordion SfAccordion image
Cards SfCardView image
Carousel SfCarousel image
Expander SfExpander image
Popup SfPopup image
Text Input Layout SfTextInputLayout image
按钮 Button SfButton image
Chips SfChip image
Segmented Control SfSegmentedControl image
通知 Circular Progress Bar SfCircularProgressBar image
Linear Progress Bar SfLinearProgressBar image
Pull to Refresh SfPullToRefresh maui-pull-to-refresh-push-mode
杂项 Effects View SfEffectsView rippleeffect
Shimmer SfShimmer maui-circle-persona

使用方法

包引用

通过Nuget安装包Syncfusion® Toolkit for .NET MAUI

dotnet add package Syncfusion.Maui.Toolkit

或者直接在csproj文件中添加:

<PackageReference Include="Syncfusion.Maui.Toolkit" Version="x.x.x" />

配置

using Syncfusion.Maui.Toolkit.Hosting;public static class MauiProgram
{public static MauiApp CreateMauiApp(){var builder = MauiApp.CreateBuilder();builder.UseMauiApp<App>()// Initialize the Syncfusion .NET MAUI Toolkit by adding the below line of code.ConfigureSyncfusionToolkit()// After initializing the Syncfusion .NET MAUI Toolkit, optionally add additional fonts.ConfigureFonts(fonts =>{fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");});// Continue initializing your .NET MAUI App herereturn builder.Build();}
}

为了在XAML中使用工具包,可以使用这个命名空间:

xmlns:toolkit="http://schemas.syncfusion.com/maui/toolkit"

这样的话,就可以直接在XAML中使用了相关控件了。

关于Syncfusion

Syncfusion成立于2001年,总部位于北卡罗来纳州三角研究园,拥有35000多家客户和100多万用户,其中包括大型金融机构、财富500强企业和全球IT咨询公司。
Syncfusion还具有很多好用的收费控件库,对于有实力的公司可以进行有偿使用。

此文已在公众号:MAUI与Avalonia开启原创,欢迎关注与转载。

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询