JiuLing.Controls.Maui
0.0.6
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package JiuLing.Controls.Maui --version 0.0.6
NuGet\Install-Package JiuLing.Controls.Maui -Version 0.0.6
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.6" />
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.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JiuLing.Controls.Maui, 0.0.6"
#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.6 // Install JiuLing.Controls.Maui as a Cake Tool #tool nuget:?package=JiuLing.Controls.Maui&version=0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
带文本的开关
针对不同平台定义开关的展示方式,使得布局更加合理。
UWP
和macOS
平台采用开关居左,文本描述居右的布局。
Android
和iOS
平台采用文本描述居左,开关居右的布局。
//导入命名控件
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 | Versions 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.
-
net6.0-android31.0
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
-
net6.0-ios15.4
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-maccatalyst15.4
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-windows10.0.19041
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
- System.Drawing.Common (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.