質問

I don't know too much about dependency properties, except that their values can be sourced from parent and above elements when not provided in specific elements.

I have a case where I have password controls defined for all employees, and then for individual employees. I would like some automated way of using the parent collection parameters when individual employee parameters are not supplied, and then, e.g. these properties for an employee applying to for all visitors for an employee, except where certain properties overridden for particular visitors.

役に立ちましたか?

解決

No.

Dependency Properties Overview

DependencyObject defines the base class that can register and own a dependency property.

For objects that cannot derive from Dependency Object, you have to implement INotifyPropertyChanged interface.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top