我正在尝试在我的 MainPage 中添加一个“微调器”,以使用户从字符串列表中进行选择并导航到第二页。我发现我可以通过 LoopingSelector 做到这一点,但我看不到任何添加它的方法!如果我放入<toolkit:LoopingSelector>xaml VS2010 无法识别它.. 我在我的目录中找不到 .dll!
可以使用 LoopingSelector 还是应该只使用列表框?
编辑:顺便说一句,我发现一个更容易使用的微调器,它是 ListPicker!现在我正在尝试实现这个!
我正在尝试在我的 MainPage 中添加一个“微调器”,以使用户从字符串列表中进行选择并导航到第二页。我发现我可以通过 LoopingSelector 做到这一点,但我看不到任何添加它的方法!如果我放入<toolkit:LoopingSelector>xaml VS2010 无法识别它.. 我在我的目录中找不到 .dll!
可以使用 LoopingSelector 还是应该只使用列表框?
编辑:顺便说一句,我发现一个更容易使用的微调器,它是 ListPicker!现在我正在尝试实现这个!
Maybe you are not properly defining "toolkit"?
<controls:LoopingSelector
ItemSize="128,128"
ItemTemplate="{StaticResource NumberTemplate}">
<controls:LoopingSelector.DataSource>
<local:NumbersDataSource />
</controls:LoopingSelector.DataSource>
</controls:LoopingSelector>
好的,我发现..这是“愚蠢的”。
我还没有安装 Silverlight 工具包(在此处可用于 LoopingSelector),所以我找不到 .dll。现在它可以正确识别程序集了!让我们看看如何让这件事发挥作用..
干杯!