![]() |
VOOZH | about |
dotnet add package AcrylicView.Maui --version 3.0.1
NuGet\Install-Package AcrylicView.Maui -Version 3.0.1
<PackageReference Include="AcrylicView.Maui" Version="3.0.1" />
<PackageVersion Include="AcrylicView.Maui" Version="3.0.1" />Directory.Packages.props
<PackageReference Include="AcrylicView.Maui" />Project file
paket add AcrylicView.Maui --version 3.0.1
#r "nuget: AcrylicView.Maui, 3.0.1"
#:package AcrylicView.Maui@3.0.1
#addin nuget:?package=AcrylicView.Maui&version=3.0.1Install as a Cake Addin
#tool nuget:?package=AcrylicView.Maui&version=3.0.1Install as a Cake Tool
| 支持平台/Supported platforms |
|---|
| ✔️ Android |
| ✔️ iOS |
| ✔️ macOS |
| ✔️ Windows |
温馨提示:在 windows的安卓子系统 中无法正常显示
Tips:Does not work in the Windows subsystem for Android
NugetPackage:AcrylicView.Maui
MauiProgram.cs
using Xe.AcrylicView;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseAcrylicView() //********* usage
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
return builder.Build();
}
}
}
xmlns:ui="clr-namespace:Xe.AcrylicView;assembly=Xe.AcrylicView"
<ui:AcrylicView VerticalOptions="Center"
HeightRequest="100"
EffectStyle="Custom"
Margin="10"
TintColor="OrangeRed"
TintOpacity=".15 "
BorderColor="OrangeRed"
BorderThickness="1,2"
CornerRadius="50,10,30,20"
>
<Grid>
<Label Text="Hello Word" FontSize="25" HorizontalOptions="Center" VerticalOptions="Center" TextColor="OrangeRed"/>
</Grid>
</ui:AcrylicView>
Android平台的实现方式是从这个仓库获取,从Xamarin.Forms简单移植过来的,请支持原作者: https://github.com/roubachof/Sharpnado.MaterialFrame
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0-android35.0 net9.0-android35.0 is compatible. net9.0-ios18.0 net9.0-ios18.0 is compatible. net9.0-maccatalyst18.0 net9.0-maccatalyst18.0 is compatible. net9.0-windows10.0.19041 net9.0-windows10.0.19041 is compatible. net10.0-android net10.0-android was computed. net10.0-android36.0 net10.0-android36.0 is compatible. net10.0-ios net10.0-ios was computed. net10.0-ios26.0 net10.0-ios26.0 is compatible. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 net10.0-maccatalyst26.0 is compatible. net10.0-windows net10.0-windows was computed. net10.0-windows10.0.19041 net10.0-windows10.0.19041 is compatible. |
Showing the top 1 NuGet packages that depend on AcrylicView.Maui:
| Package | Downloads |
|---|---|
|
PlutoFramework
All in one framework for creating web3 mobile applications. |
Showing the top 2 popular GitHub repositories that depend on AcrylicView.Maui:
| Repository | Stars |
|---|---|
|
securefolderfs-community/SecureFolderFS
Powerful, secure, modern way to keep your files protected.
|
|
|
Strypper/mauisland
MAUIsland 🏝️ is the number 1 controls gallery for .NET MAUI
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.0.1 | 9,771 | 3/26/2026 | |
| 3.0.0 | 3,078 | 11/14/2025 | |
| 2.1.3 | 10,990 | 2/14/2024 | |
| 2.1.1 | 7,672 | 1/13/2024 | |
| 2.1.0 | 1,431 | 11/15/2023 | |
| 2.0.1 | 3,509 | 8/22/2023 | |
| 2.0.0 | 362 | 8/21/2023 | 2.0.0 is deprecated because it has critical bugs. |
| 1.13.0 | 1,250 | 5/17/2023 | 1.13.0 is deprecated because it has critical bugs. |
| 1.12.0 | 624 | 4/13/2023 | 1.12.0 is deprecated because it has critical bugs. |
| 1.11.0 | 396 | 4/11/2023 | 1.11.0 is deprecated because it has critical bugs. |
| 1.0.0 | 444 | 3/27/2023 | 1.0.0 is deprecated because it has critical bugs. |
适配.NET10