I want numeric keyboard for Windows tablets. I used code
Keyboard="Numeric"
but it gets numeric keyboard for Android devices, iOS devices and Windows phone. It doesn't bring numeric keyboard for Windows Tablet. I refered this link it says that getting a numeric keyboard in tablet is not possible. I want to know is there any way I can get this feature. Maybe using custom renderer or dependency injection. If so how?
This is known issue and it has fixed in latest version, please update Xamarin.Forms nuget package version to latest stable version(contained in the UWP client project)
Update
[assembly: ExportRenderer(typeof(Entry), typeof(MyEntryRenderer))]
namespace App10.UWP
{
public class MyEntryRenderer : EntryRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs<Entry> e)
{
base.OnElementChanged(e);
if (Control != null)
{
Control.InputScope = Element.Keyboard.ToInputScope();
}
}
}
}