问题描述
嗨!
Hi!
我在我的WP8-App页面中使用工具包中的LongListMultiSelector controll让用户选择过滤器的不同类别(类别由LongListMultiSelector中的项表示)。
由于我使用的是VMMV架构,我想在页面的开头访问LongListMultiSelector并设置LongListMultiSelector的selectedItems。 (在ViewModel中,我从我的应用程序的存储中获取所选项目。)
有人有想法吗?或者知道如何帮助我?
i am using a LongListMultiSelector controll from the toolkit in a page of my WP8-App to let the user select different categories for a filter ( a category is represented by an item in the LongListMultiSelector ).
As i am using a VMMV architecture, i would like to access the LongListMultiSelector at start of the page and set the selectedItems of the LongListMultiSelector. ( In the ViewModel i get the selected Items from the storage of my App..)
Anybody has an idea? Or know how to help me?
谢谢!
推荐答案
这篇关于WP8:LongListMultiSelector:从ViewModel设置SelectedItems(在开始时)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!