WPF/RibbonGallery:需要帮助理解绑定和事件

发布于 2024-09-19 02:28:23 字数 288 浏览 2 评论 0原文

我需要一些帮助来理解 Lester 的博客:使用 RibbonGallery 控件。我对 WPF 比较陌生,对 MVVM 不太熟悉,

我不太了解示例中的功能区库是如何绑定的,以及如何处理单击/选择更改等事件来切换字体或颜色。

i need some help understanding the example posted by Lester's Blog: Using RibbonGallery Control. i am relatively new to WPF and not really familiar with MVVM

i dont really understand how the ribbon gallery in the sample is bound and how to handle events like click/selection change to switch the font or color.

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

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

发布评论

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

评论(1

三人与歌 2024-09-26 02:28:23

学习 MVVM 作为一个开始...不要现在就深入研究,然后当您的代码需要一些维护时后悔...有很多好的教程。试试这个线程:
MVVM:从开始到结束的教程?

一旦掌握了基础知识...这对你来说会变得更加自然

Learn MVVM as a start... don't dive in now and regret later when your code will need some maintenance... There are a lot of good tutorials. try this thread:
MVVM: Tutorial from start to finish?

Once you get the basics... it will come more natural to you

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