PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Xaml Namespace

PostSharp.Patterns.Xaml Namespace

This namespace contains the implementation of XAML-specific namespace.
Classes
  ClassDescription
Public classAttached<T>
Type of properties that are turned into XAML attached properties by the AttachedPropertyAttribute aspect.
Public classAttachedPropertyAttribute
Custom attribute that, when applied on a static automatic property and of type Attached<T> turns this property into a XAML dependency property of the same name and whose value type is T.
Public classCommandAttribute
Custom attribute that, when applied on a property of type ICommand named say Foo, automatically create a new command class based on a method named ExecuteFoo and an optional property or method named CanExecuteFoo.
Public classDependencyPropertyAttribute
Custom attribute that, when applied on an automatic property, turns this property into a XAML dependency property of the same name.
Public classDependencyPropertyServices
Exposes helper methods that work with the DependencyPropertyAttribute and AttachedPropertyAttribute aspects.