PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​XamlDependency­Property­Services
Open sandboxFocus

DependencyPropertyServices Class

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 : Object

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.