Open sandboxFocus

Class DependencyPropertyServices

Exposes helper methods that work with the DependencyPropertyAttribute and AttachedPropertyAttribute aspects.

Inheritance
DependencyPropertyServices
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml.dll
Syntax
public static class DependencyPropertyServices

Methods

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.