Search code examples
c#.netxamluser-interfacemaui

Creating an numeric entry with a numeric Keyboard in .NET MAUI


I would like to create a numeric Entry in my .NET MAUI Application. Unfortunately i cant set the keyboard layout to a numeric one. I test my app under iPadOS.

I tried to specify the keyboardtype with the parameter Numeric.

<Entry Placeholder="Someplaceholder" Text="{Binding Measurment.NumericValue}" Margin="5" Keyboard="Numeric"/>

Solution

  • <Entry PlaceholderColor="Gray" Placeholder="password" Keyboard="Numeric" BackgroundColor="WhiteSmoke"></Entry>
    

    I tried the Keyboard="Numeric" in the Entry. it acturally can change the keyboard format. But it is according to the system keyboard format.

    enter image description here