Getting Started with InputKit on MAUI

MAUI doesn't implement exactly same features as Xamarin.Forms.InputKit. You can follow the progress with this issue

Installation

  • Install InputKit.Maui package from NuGet.

  • Go to your MauiProgram.cs file and add following line:

    builder
    .UseMauiApp<App>()
    .ConfigureMauiHandlers(handlers =>
    {
        // Add following line:
        handlers.AddInputKitHandlers(); // 👈
    })
    
    

Usage

  • Define following xml namespace to your Page tag as attribute:

    xmlns:input="clr-namespace:InputKit.Shared.Controls;assembly=InputKit.Maui"
    

    See how it's done at sample ↗️

  • Then use it at wherever you want in your page with defined prefix input like following code:

    <input:CheckBox Text="Hello World">
    
In this document