Silverlight Navigation 项目模板和 WrapPanel
我是 Silverlight 新手,我正在尝试获取 WrapPanel< /a> 使用导航项目模板的示例。我的问题是 WrapPanel 不换行。
这是我尝试过的:
创建一个新的基于导航的项目。
从“选择颜色”演示的工具包示例中复制代码。
当我创建“常规”Silverlight 应用程序时,WrapPanel 会按预期换行。
关于基于导航的项目我可能会缺少什么有什么想法吗?
I'm new to Silverlight and I'm trying to get the WrapPanel sample working with the Navigation project template. My issue is that the WrapPanel doesn't wrap.
Here's what I've tried:
Create a new Navigation based project.
Copy the code from the Toolkit Samples for the "Select a Color" demo.
When I create a "regular" Silverlight application the WrapPanel does wrap as expected.
Any ideas on what I might be missing with the Navigation based project?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 WrapPanel 是否分组到 StackPanel 中?如果您的 WrapPanel 位于 StackPanel 内部,则它永远不会换行。
Is your WrapPanel grouped into a StackPanel? In case your WrapPanel is located inside a StackPanel, it will never wrap.