JiuLing.Controls.Maui 0.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package JiuLing.Controls.Maui --version 0.0.10
NuGet\Install-Package JiuLing.Controls.Maui -Version 0.0.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JiuLing.Controls.Maui" Version="0.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JiuLing.Controls.Maui --version 0.0.10
#r "nuget: JiuLing.Controls.Maui, 0.0.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JiuLing.Controls.Maui as a Cake Addin
#addin nuget:?package=JiuLing.Controls.Maui&version=0.0.10

// Install JiuLing.Controls.Maui as a Cake Tool
#tool nuget:?package=JiuLing.Controls.Maui&version=0.0.10

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

JiuLing.Controls.Maui

一个MAUI下的控件库

组件列表

<table> <tr> <td>组件名</td> <td>说明</td> <td>Windows</td> <td>Android</td> <td>iOS</td> <td>MacCatalyst</td> </tr> <tr> <td>TextSwitch</td> <td>带文本的开关</td> <td>✔️</td> <td>✔️</td> <td>✔️</td>
<td>✔️</td> </tr> <tr> <td>GaussianImage</td> <td>图像高斯模糊</td> <td>✔️</td> <td>✔️</td> <td>❌</td> <td>❌</td> </tr> </table>

使用

TextSwitch 带文本的开关

针对不同平台定义开关的展示方式,使得布局更加合理。
UWPmacOS平台采用开关居左,文本描述居右的布局。
AndroidiOS平台采用文本描述居左,开关居右的布局。

//导入命名控件
xmlns:JiuLing="clr-namespace:JiuLing.Controls.Maui.Controls;assembly=JiuLing.Controls.Maui"

//创建组件
<JiuLing:TextSwitch Text="深色主题" IsToggled="{Binding IsDarkMode}">

GaussianImage 图像高斯模糊

//注册组件
var builder = MauiApp.CreateBuilder();
builder.UseJiuLingControls();

//导入命名控件
xmlns:JiuLing="clr-namespace:JiuLing.Controls.Maui.Handlers.GaussianImage;assembly=JiuLing.Controls.Maui"

//创建组件
<JiuLing:GaussianImage Url="{Binding CurrentMusic.ImageUrl}"/>

License

本项目基于MIT License

Product Compatible and additional computed target framework versions.
.NET net6.0-android31.0 is compatible.  net6.0-ios15.4 is compatible.  net6.0-maccatalyst15.4 is compatible.  net6.0-windows10.0.19041 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-windows was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.14 414 8/18/2022
0.0.13 601 8/4/2022
0.0.12 378 7/25/2022
0.0.10 387 7/24/2022
0.0.9 389 7/22/2022
0.0.8 378 7/22/2022
0.0.7 394 6/16/2022
0.0.6 396 5/30/2022
0.0.5 392 5/29/2022
0.0.4 394 5/28/2022
0.0.3 388 5/28/2022
0.0.1 395 5/28/2022