[英]ListView filled by AutoSuggestBox
I would fill a ListView with a AutoSuggestBox. 我将用AutoSuggestBox填充ListView。 I've already done a AutoSuggestBox that catch items in a json file.
我已经做过一个AutoSuggestBox,可以捕获json文件中的项目。 How can i put the items in a ListView?
如何将项目放入ListView? Thanks
谢谢
If you deserialize the JSON in objects, you can use databinding. 如果在对象中反序列化JSON,则可以使用数据绑定。 Use the ItemsSource property on the ListView control.
使用ListView控件上的ItemsSource属性。 A For more information on databinding see this interesting post .
有关数据绑定的更多信息,请参见这篇有趣的文章 。 For more information on deserializing JSON to objects, see this post .
有关将JSON反序列化为对象的更多信息, 请参阅本文 。
If this is an answer to your question, please mark this as answer. 如果这是您的问题的答案,请将其标记为答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.