Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top