WPF/RibbonGallery:需要帮助理解绑定和事件
我需要一些帮助来理解 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
学习 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