简体   繁体   中英

How to implement search in listbox wp7?

How to implement search in listbox(ObservableCollection)? Is the wp7 has something default for this?

在此输入图像描述

Correct me if I'm wrong, but I believe you are asking how to filter a ObservableCollection based on what you put in the text box?

This page should have what your looking for:

Filtering an ObservableCollection?

To sum it up quickly though, use a CollectionViewSource.

您应该查看作为Silverlight工具包一部分的自动填充文本框

我认为自动完成控制可以帮助你。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM