ButtonSam.Maui
1.1.0
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 ButtonSam.Maui --version 1.1.0
NuGet\Install-Package ButtonSam.Maui -Version 1.1.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="ButtonSam.Maui" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ButtonSam.Maui --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ButtonSam.Maui, 1.1.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.
// Install ButtonSam.Maui as a Cake Addin #addin nuget:?package=ButtonSam.Maui&version=1.1.0 // Install ButtonSam.Maui as a Cake Tool #tool nuget:?package=ButtonSam.Maui&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<p align="center"> <img src="Images/android13.gif" height="200"/> <img src="Images/windows11.gif" height="200"/> </p>
ButtonSam.Maui
The .NET 7.0 library for create easy interactive UI
- Custom content
- Corner radius
- Borders
- Tap color
- Ripple effect for Android</br> Implementation ripple effect for API > 21
Installation
Use extension method .UseButtonSam()
in static method MauiProgram.CreateMauiApp()
Example
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseButtonSam()
...
}
}
XAML Sample
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:button="clr-namespace:ButtonSam.Maui;assembly=ButtonSam.Maui"
...>
<button:Button TapCommand="{Binding CommandTap}">
<Label Text="Hello world"
TextColor="White"/>
</button:Button>
</ContentPage>
Supported platforms
Platform | Status |
---|---|
WinUI | ✅ |
Android | ✅ |
iOS | ✅ |
MacCatalyst | ❌ |
Tizen | ❌ |
Linux | ❌ |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-android33.0 is compatible. net7.0-ios16.1 is compatible. net7.0-windows10.0.19041 is compatible. net8.0-android was computed. net8.0-ios was computed. net8.0-windows was computed. net9.0-android was computed. net9.0-ios was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0-android33.0
- No dependencies.
-
net7.0-ios16.1
- No dependencies.
-
net7.0-windows10.0.19041
- No dependencies.
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 |
---|---|---|
8.1.2 | 255 | 4/15/2024 |
8.1.1 | 149 | 4/14/2024 |
8.1.0 | 132 | 3/31/2024 |
8.0.1 | 220 | 1/6/2024 |
8.0.0 | 121 | 1/6/2024 |
1.3.3 | 201 | 9/4/2023 |
1.3.2 | 163 | 9/2/2023 |
1.3.1 | 147 | 9/2/2023 |
1.3.0 | 158 | 9/2/2023 |
1.2.0 | 151 | 8/30/2023 |
1.1.0 | 232 | 6/9/2023 |
1.0.3 | 194 | 5/21/2023 |
1.0.2 | 171 | 5/16/2023 |
1.0.1 | 161 | 5/16/2023 |
1.0.0 | 165 | 5/9/2023 |
0.9.8-beta | 152 | 4/29/2023 |
0.9.7-beta | 145 | 4/16/2023 |
0.9.6-beta | 146 | 4/8/2023 |