Plugin.Maui.Handlers
1.0.0
dotnet add package Plugin.Maui.Handlers --version 1.0.0
NuGet\Install-Package Plugin.Maui.Handlers -Version 1.0.0
<PackageReference Include="Plugin.Maui.Handlers" Version="1.0.0" />
paket add Plugin.Maui.Handlers --version 1.0.0
#r "nuget: Plugin.Maui.Handlers, 1.0.0"
// Install Plugin.Maui.Handlers as a Cake Addin #addin nuget:?package=Plugin.Maui.Handlers&version=1.0.0 // Install Plugin.Maui.Handlers as a Cake Tool #tool nuget:?package=Plugin.Maui.Handlers&version=1.0.0
.NET MAUI Plugin: Custom Handlers and Utilities
Overview
This .NET MAUI plugin provides enhanced functionality for handling user interactions with Entry and Editor controls, along with additional utilities such as hiding the keyboard programmatically.
It helps you to remove the unnecessary native UI elements of the mentioned controls allowing you to customize input design and enhances user experience in your .NET MAUI applications.
Features
Entry
- Remove Borders, this method removes the borders of the entry for iOS and Android.
- Add Done Button, this method add a "Done" button toolbar above the keyboard on iOS only.
Example Usage
EntryHandler.RemoveBorders();
// The toolbar background default color is #FFFFFF
EntryHandler.AddDone(Color.FromArgb("#000000"));
Editor
- Remove Borders, this method removes the borders of the entry for iOS and Android.
- Add Done Button, this method add a "Done" button toolbar above the keyboard on iOS only.
- Enable scrolling, this method enables the scrolling on editor control for iOS only.
Example Usage
EditorHandler.RemoveBorders();
// The toolbar background default color is #FFFFFF
EditorHandler.AddDone(null);
EditorHandler.EnableScrolling();
Utilities
- Hide Keyboard, this method forces to hide the keyboard on iOS and Android.
Example Usage
UtilHandler.HideKeyboard();
Thank You!
So if you enjoy this plugin, please consider supporting my contribution via Github sponsorship https://github.com/sponsors/vhugogarcia and follow me on my personal blog (https://dev.to/vhugogarcia) where I keep posting .NET MAUI useful guides and tricks.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios17.2 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst17.2 is compatible. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.Maui.Controls (>= 8.0.14)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.14)
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.14)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.14)
-
net8.0-ios17.2
- Microsoft.Maui.Controls (>= 8.0.14)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.14)
-
net8.0-maccatalyst17.2
- Microsoft.Maui.Controls (>= 8.0.14)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.14)
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 |
---|---|---|
1.0.0 | 312 | 6/17/2024 |