禁用Xamarin.Forms PCL XAML页面中的自动完成功能 [英] Disable autocomplete in Xamarin.Forms PCL XAML Page

查看:79
本文介绍了禁用Xamarin.Forms PCL XAML页面中的自动完成功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个PCL,它将我的MVVM页面存储在XAML中. XAML文件中包含以下内容,但我想禁用键盘上的自动完成功能.有人知道我该如何在XAML中做到这一点吗?

I have a PCL which stores my MVVM pages in XAML. I have the following in the XAML file, but I'd like to disable the autocomplete feature on the keyboard. Does anyone know how I can do this in the XAML?

<Entry Text="{Binding Code}" Placeholder="Code" />

推荐答案

Forms支持 KeyboardFlags.Suggestion 枚举旨在控制此行为,但似乎没有充分记录.

Forms supports a KeyboardFlags.Suggestion enum which I assume is intended to control this behavior, but it doesn't appear to be very well documented.

这篇关于禁用Xamarin.Forms PCL XAML页面中的自动完成功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆