Silverlight Navigation 项目模板和 WrapPanel

发布于 2024-08-10 03:49:17 字数 355 浏览 2 评论 0原文

我是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心碎无痕… 2024-08-17 03:49:17

您的 WrapPanel 是否分组到 StackPanel 中?如果您的 WrapPanel 位于 StackPanel 内部,则它永远不会换行。

Is your WrapPanel grouped into a StackPanel? In case your WrapPanel is located inside a StackPanel, it will never wrap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文