PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Xaml Namespace / Dependency­Property­Services Class / Dependency­Property­Services Methods / Dependency­Property­Services.​Get­Dependency­Property Method

DependencyPropertyServices.GetDependencyProperty Method

Overload List
  NameDescription
Public methodStatic memberGetDependencyProperty<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.
Public methodStatic memberGetDependencyProperty<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.
Public methodStatic memberGetDependencyProperty(Type, String)
Gets the DependencyProperty object associated with a property of a given name for a given type.
See Also