AcrylicView.Maui
1.12.0
Additional Details
旧版存在性能问题,和一些bug,请及时更新,使用2.0.1或更高版本
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 AcrylicView.Maui --version 1.12.0
NuGet\Install-Package AcrylicView.Maui -Version 1.12.0
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="AcrylicView.Maui" Version="1.12.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AcrylicView.Maui" Version="1.12.0" />
<PackageReference Include="AcrylicView.Maui" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AcrylicView.Maui --version 1.12.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AcrylicView.Maui, 1.12.0"
#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.
#:package AcrylicView.Maui@1.12.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AcrylicView.Maui&version=1.12.0
#tool nuget:?package=AcrylicView.Maui&version=1.12.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
using Xe.AcrylicView;
public static class MauiProgram { public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder .UseMauiApp<App>()
.UseAcrylicView() //
.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="2" CornerRadius="50,10,30,20" >
<Grid>
<Label Text="Hello Word" FontSize="25" HorizontalOptions="Center" VerticalOptions="Center" TextColor="OrangeRed"/>
<Label/>
</Grid>
</ui:AcrylicView>
iOS、Mac平台不支持颜色混合
Android平台的实现方式是从这个仓库获取,从Xamarin.Forms简单移植过来的,请支持原作者: https://github.com/roubachof/Sharpnado.MaterialFrame
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-android31.0 is compatible. net6.0-ios16.1 is compatible. net6.0-maccatalyst16.1 is compatible. net6.0-windows10.0.19041 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-maccatalyst16.1 is compatible. 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. net9.0-android was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-windows was computed. net10.0-android was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.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
- No dependencies.
-
net6.0-ios16.1
-
net6.0-maccatalyst16.1
-
net6.0-windows10.0.19041
- No dependencies.
-
net7.0-android33.0
- No dependencies.
-
net7.0-ios16.1
- No dependencies.
-
net7.0-maccatalyst16.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AcrylicView.Maui:
Package | Downloads |
---|---|
PlutoFramework
All in one framework for creating web3 mobile applications. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AcrylicView.Maui:
Repository | Stars |
---|---|
Strypper/mauisland
MAUIsland 🏝️ is the number 1 controls gallery for .NET MAUI
|