PropertyDependencyAttribute Class |
Namespace: TomsToolbox.Wpf
The PropertyDependencyAttribute type exposes the following members.
Name | Description | |
---|---|---|
PropertyDependencyAttribute |
Initializes a new instance of the PropertyDependencyAttribute class.
|
Name | Description | |
---|---|---|
PropertyNames |
Gets the names of the properties that the attributed property depends on.
|
Name | Description | |
---|---|---|
CreateDependencyMapping |
Creates the dependency mapping from the attributes of the properties of the specified type.
| |
GetInvalidDependencies |
Gets a list of invalid dependency definitions in the entry types assembly and all referenced assemblies.
|
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |
class X : ObservableObject { string Value { get { ... } } [PropertyDependency("Value")] int ValueLength { get { ... } } void ChangeSomething() { OnPropertyChanged("Value"); } }