如何动态添加项目以进行查找 [英] How to dynamically add items to lookup

查看:48
本文介绍了如何动态添加项目以进行查找的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在运行时将项添加到选项列表中?预定义某些项目很有用,但有时我希望用户能够输入自己的值,并将其保留在选项列表中以提高一致性。

Is there a way to add items to a choice list at runtime? It's useful to predefine some items, but sometimes I'd like the user to be able to type their own value in, and have that persisted in the choice list to improve consistency.

谢谢

推荐答案

默认的AutoCompleteBox不支持此方案。  第三方可以生成一个LS控件来执行此操作,或者您可以尝试创建一个。

The default AutoCompleteBox does not support this scenario.  It is possible for a 3rd party to produce a LS control to do that, or you may try to create one.

 

这篇关于如何动态添加项目以进行查找的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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