Click or drag to resize

PropertyDependencyAttributeCreateDependencyMapping Method

Creates the dependency mapping from the attributes of the properties of the specified type.

Namespace: TomsToolbox.Wpf
Assembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static Dictionary<string, IEnumerable<string>>? CreateDependencyMapping(
	Type? type
)

Parameters

type  Type
The type.

Return Value

DictionaryString, IEnumerableString
A dictionary that maps the property names to all direct and indirect dependent property names.
Exceptions
ExceptionCondition
InvalidOperationExceptionInvalid dependency definitions, i.e. dependency to non-existing property.
See Also