ButtonSam.Maui
8.0.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 8.0.0
NuGet\Install-Package ButtonSam.Maui -Version 8.0.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="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ButtonSam.Maui --version 8.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ButtonSam.Maui, 8.0.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=8.0.0 // Install ButtonSam.Maui as a Cake Tool #tool nuget:?package=ButtonSam.Maui&version=8.0.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-android34.0 is compatible. net8.0-ios was computed. net8.0-ios17.0 is compatible. net8.0-windows was computed. net8.0-windows10.0.19041 is compatible. |
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.
-
net8.0-android34.0
- No dependencies.
-
net8.0-ios17.0
- No dependencies.
-
net8.0-windows10.0.19041
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ButtonSam.Maui:
Package | Downloads |
---|---|
Scaffold.Maui
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.1.2 | 221 | 4/15/2024 |
8.1.1 | 143 | 4/14/2024 |
8.1.0 | 123 | 3/31/2024 |
8.0.1 | 210 | 1/6/2024 |
8.0.0 | 111 | 1/6/2024 |
1.3.3 | 192 | 9/4/2023 |
1.3.2 | 157 | 9/2/2023 |
1.3.1 | 138 | 9/2/2023 |
1.3.0 | 152 | 9/2/2023 |
1.2.0 | 145 | 8/30/2023 |
1.1.0 | 221 | 6/9/2023 |
1.0.3 | 178 | 5/21/2023 |
1.0.2 | 160 | 5/16/2023 |
1.0.1 | 150 | 5/16/2023 |
1.0.0 | 155 | 5/9/2023 |
0.9.8-beta | 144 | 4/29/2023 |
0.9.7-beta | 132 | 4/16/2023 |
0.9.6-beta | 137 | 4/8/2023 |