DependencyPropertyServices Class |
Exposes helper methods that work with the DependencyPropertyAttribute and AttachedPropertyAttribute aspects.
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static class DependencyPropertyServices
Name | Description | |
---|---|---|
GetDependencyProperty(Type, String) |
Gets the DependencyProperty object associated with a property of a given name for a given type.
| |
GetDependencyProperty<T>(Expression<Func<T>>) |
Gets the DependencyProperty object associated with a property of a given name for a given type.
The property name and the property owner type are extracted from the expression argument.
| |
GetDependencyProperty<TClass, TProperty>(Expression<Func<TClass, TProperty>>) |
Gets the DependencyProperty object associated with a property of a given name for a given type.
The property name and the property owner type are extracted from the expression argument.
|