silverlight 在 Toggle 控件上使用 Expander Toggle 模板

发布于 2024-09-19 05:14:28 字数 85 浏览 2 评论 0原文

我喜欢使用主题时 Expander 控件上切换按钮的外观。

我如何将其应用于普通的切换按钮?

非常感谢

保罗

I like the look of the toggle button on the Expander control, when using a theme.

How could I apply this to a normal Toggle button?

Many Thanks

Paul

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

白鸥掠海 2024-09-26 05:14:57

最简单的方法是使用 Blend 来复制默认样式。哦等等,Expander 还在 Toolkit 中吗?我的意思是,它不是已迁移到 Silverlight 4 的基础库中了吗?无论如何,我认为它起源于工具包,完整的源代码位于 codeplex 上,包括样式,所以最简单的方法是从那里复制它。使用 Blend 创建默认样式的副本并查看其内部也很简单。

It's easiest to use Blend to make a copy of the default style. Oh wait, is the Expander still in the Toolkit? By which I mean, wasn't it migrated in the base library for Silverlight 4? At any rate, I think it originated in the toolkit, and the full source code for that is on codeplex, including the styles, so the easiest way would be to copy it from there. Also easy is to use Blend to create a copy of the default style and look inside it.

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