LibraryBar [英] LibraryBar
本文介绍了LibraryBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发Surface应用程序,并且我将LibraryBar绑定到CollectionViewSource。
我的问题是,我可以像在SurfaceListBox中一样从LibrarayBar中获取selectitem吗?
解决方案
是的,你可以。
为了做到这一点,你需要为你的收藏设置一个分组规则。设置时,库栏会自动在其中间显示一个选择器。
请参阅以下
链接样本。
希望有所帮助
Serge
I am developing Surface Application and I have LibraryBar bound to CollectionViewSource.
My question is, can I get selecteditem from LibrarayBar like in SurfaceListBox?
解决方案
Yes you can.
In order to do this you need to set up for your collection a Grouping rules. When setup the library bar will automatically display a Selector in the middle of it.
Refer to following link for sample.hope it helps
Serge
这篇关于LibraryBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文