maui-custom-handlers

Create and customize .NET MAUI handlers for platform-specific native views.

163|17|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/davidortinau/maui-skills --skill maui-custom-handlers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maui-custom-handlers
Source: https://github.com/davidortinau/maui-skills/tree/main/plugins/maui-skills/skills/maui-custom-handlers
Command: npx skills add https://github.com/davidortinau/maui-skills --skill maui-custom-handlers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers extend and customize the native UI elements that .NET MAUI controls map to, allowing for platform-specific visual enhancements and entirely new custom controls.

Core Features & Use Cases

  • Customize Existing Handlers: Modify the appearance or behavior of standard MAUI controls (like Entry, Button) on a per-platform basis using mapper methods (PrependToMapping, ModifyMapping, AppendToMapping).
  • Create New Handlers: Build entirely new custom controls by defining a cross-platform control and then implementing its native platform-specific views and logic.
  • Use Case: You need to remove the default border from all Entry controls on iOS and Android for a cleaner UI. This skill guides you on how to achieve that globally or for specific instances.

Quick Start

Use the maui-custom-handlers skill to add a global customization to remove the border from all Entry controls on Android and iOS.

Frequently Asked Questions about maui-custom-handlers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I customize .NET MAUI handlers for platform-specific native views?

Customize .NET MAUI handlers by modifying existing controls with property and command mappers, or build new custom controls using partial handler classes and platform-specific implementations to achieve native view integration.

What is the best way to remove the default border from Entry controls in .NET MAUI?

Remove the default Entry border globally on iOS and Android by modifying the existing Entry handler using mapper methods like PrependToMapping or AppendToMapping to alter the native view properties.

How do I create a new custom control with a custom handler in .NET MAUI?

Create a new custom control by defining a cross-platform control and implementing its platform-specific native views and logic using partial handler classes, then register the handler to manage its lifecycle events.

Can I use .NET MAUI custom handlers to modify standard controls on a per-platform basis?

Yes, .NET MAUI custom handlers allow you to modify the appearance and behavior of standard controls like Entry and Button on a per-platform basis using ModifyMapping and other mapper methods for targeted native view changes.

When should I use custom handlers instead of standard .NET MAUI controls?

Use custom handlers when standard .NET MAUI controls require platform-specific visual enhancements, new native behaviors, or entirely new custom controls that the default cross-platform implementation does not provide.