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
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()
...
}
}
<?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>
Platform | Status |
---|---|
WinUI | ✅ |
Android | ✅ |
iOS | ✅ |
MacCatalyst | ❌ |
Tizen | ❌ |
Linux | ❌ |
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.