是否有可用的 WPF 备忘单? [英] Is there a WPF Cheat Sheet available?
问题描述
我正在寻找 WPF 备忘单,其中包含用于绑定、资源和 WPF 中其他常见内容的 WPF 标记扩展.但到目前为止,我一直找不到它.
I'm looking for a WPF cheat sheet that has the WPF markup extensions for binding, resources, and other common things in WPF. But so far I've had trouble finding it.
有人知道我在哪里可以找到吗?
Anyone know where I could find one?
推荐答案
我专门为数据绑定写了一份备忘单,并将其发布在我的博客上:
I wrote a cheat sheet specifically for data binding and posted it on my blog at:
http://www.nbdtech.com/blog/archive/2009/02/02/wpf-xaml-data-binding-cheat-sheet.aspx
它非常详细,涵盖了 Binding 类的所有属性(因为我永远不会忘记如何编写 {StaticResource something} 但如何单向绑定到目标元素的祖先是另一回事).
It's very detailed and covers all the properties of the Binding class (because I never forget how to write {StaticResource something} but how to one-way bind to an ancestor of the target element is another thing).
这篇关于是否有可用的 WPF 备忘单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!