Skip to content

scriptBoris/ButtonSam.Maui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet

ButtonSam.Maui

The .NET7 & .NET8 library for create easy interactive UI

  • Custom content
  • Corner radius
  • Borders
  • Tap color
  • Ripple effect for Android
    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

About me

I am a private developer and mostly do commercial work. Sometimes I can spend time developing my libraries. I would appreciate it if you would make a donation to me, now is a difficult time for me.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages