ButtonSam.Maui 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ButtonSam.Maui --version 1.2.0
NuGet\Install-Package ButtonSam.Maui -Version 1.2.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.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ButtonSam.Maui --version 1.2.0
#r "nuget: ButtonSam.Maui, 1.2.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.2.0

// Install ButtonSam.Maui as a Cake Tool
#tool nuget:?package=ButtonSam.Maui&version=1.2.0

<p align="center"> <img src="Images/android13.gif" height="200"/> <img src="Images/windows11.gif" height="200"/> </p>

NuGet

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 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. 
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 (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.0 93 3/31/2024
8.0.1 160 1/6/2024
8.0.0 80 1/6/2024
1.3.3 158 9/4/2023
1.3.2 126 9/2/2023
1.3.1 106 9/2/2023
1.3.0 124 9/2/2023
1.2.0 117 8/30/2023
1.1.0 195 6/9/2023
1.0.3 154 5/21/2023
1.0.2 134 5/16/2023
1.0.1 126 5/16/2023
1.0.0 130 5/9/2023
0.9.8-beta 123 4/29/2023
0.9.7-beta 109 4/16/2023
0.9.6-beta 115 4/8/2023