本文介绍了如何依赖属性实现的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


谁能解释是如何依赖属性实现的?难道是在基类中声明与给定的情况下,作为一个重要的参考只是一个静态的词典吗?我找不到任何资源有关这方面的互联网...
非常感谢


Can anyone explain how is dependency property implemented? Is it just a static dictionary that is declared in base class with a reference of given instance as a key?I can't find any resources about this in internet...
Thanks a lot

推荐答案

我看到两个问题:

  1. 如何依赖属性工作?这 MSDN文章是一个伟大的系列赛上依赖属性。应该是一个很好的概述,让你开始。
  2. 如何依赖属性实现的?你不会找到任何这资源,因为为什么微软要揭露其实施DP的?话虽这么说,那肯定是值得商榷的。
  1. How do dependency properties work? This MSDN article is a great series on dependency properties. Should be a good overview to get you started.
  2. How are dependency properties implemented? You won't find any resources on this because why would Microsoft want to expose their implementation of DP ? That being said, that's certainly open to discussion.

这篇关于如何依赖属性实现的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-21 07:26