Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Xaml Namespace / Dependency­Property­Services Class

DependencyPropertyServices Class

Exposes helper methods that work with the DependencyPropertyAttribute and AttachedPropertyAttribute aspects.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Xaml.DependencyPropertyServices

Namespace:  PostSharp.Patterns.Xaml
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public static class DependencyPropertyServices
Methods
  NameDescription
Public methodStatic memberGetDependencyProperty(Type, String)
Gets the DependencyProperty object associated with a property of a given name for a given type.
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<T, U>(Expression<Func<T, U>>)
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.
See Also