本文介绍了如何在wp7中禁用(并在必要时启用)文本框的自动完成功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我在wp7应用中具有用于搜索目的的自动完成控件,并且我有一个列表框(已填充).当我从列表框中选择一个项目时,它会复制到文本框(自动完成),但会显示自动完成选项.在这种情况下,我不想显示自动完成选项(仅针对此实例).将某些内容粘贴到自动完成控件中时,如何禁用自动完成功能?

Suppose I have an autocomplete control for search purpose in my wp7 app, and I have a listbox(populated). When I select an item from the listbox, it is copied to the textbox(autocomplete) but it displays the autocomplete options. In this case, I do not want to display the autocomplete options (only for this instance). How can I disable the autcomplete feature when pasting something into the autocomplete control?

推荐答案


这篇关于如何在wp7中禁用(并在必要时启用)文本框的自动完成功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 04:27