什么是依赖项属性,何时使用? [英] What is a Dependency Property and when is it used?
本文介绍了什么是依赖项属性,何时使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在网上浏览以找到依赖项的定义,但找不到最简单的定义。有人可以帮我举个例子吗?谢谢
hi guys, I have been browsing through the net to find the definition of a dependency prop, but cannot find the simplest def for this.Can anyone help me with an example? Thanks
推荐答案
这里本身已经有很多讨论。请仔细阅读。
There have already been a number of discussions here itself regarding this.Please go through some.
也可以在Google上找到一些很棒的文章。
Also google and you can find some awesome articles.
http://joshsmithonwpf.wordpress.com/2007/06/22/overview-of-dependency-properties-in-wpf/
http ://www.switchonthecode.com/tutorials/wpf-tutorial-introduction-to-dependency-properties
http://www.dotnetfunda.com/articles/article961-wpf-tutorial--dependency- property-.aspx
这篇关于什么是依赖项属性,何时使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文