As we know, a dependency property can be defined only on types that subclass DependencyObject. This base class defines a key value dictionary, that contains the local values of dependency properties.
When a dependency property is accessed, it's value is dynamically resolved (via the GetValue(dependencyproperty) in the .Net wrapper). For greater detail, check here: http://wpftutorial.net/DependencyProperties.html
发布评论
评论(1)
众所周知,依赖属性只能在 DependencyObject 子类的类型上定义。该基类定义了一个键值字典,其中包含依赖属性的本地值。
当访问依赖属性时,它的值会被动态解析(通过 .Net 包装器中的 GetValue(dependencyproperty))。有关更多详细信息,请查看此处:http://wpftutorial.net/DependencyProperties.html
As we know, a dependency property can be defined only on types that subclass DependencyObject. This base class defines a key value dictionary, that contains the local values of dependency properties.
When a dependency property is accessed, it's value is dynamically resolved (via the GetValue(dependencyproperty) in the .Net wrapper). For greater detail, check here: http://wpftutorial.net/DependencyProperties.html