PostSharp / / API Reference / Post­Sharp.​Patterns.​Xaml / Dependency­Property­Attribute

Class DependencyPropertyAttribute

Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml.dll
Syntax
[MulticastAttributeUsage(PersistMetaData = true)]
[HasConstraint]
public sealed class DependencyPropertyAttribute : DependencyPropertyBaseAttribute, ILocationLevelAspect, ILocationLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IAspectProvider, IAspect, IService, ILocationValidationHandler

Constructors

Name Description
DependencyPropertyAttribute()
DependencyPropertyAttribute(PortableFormatterConstructorContext)

Properties

Name Description
DefaultValue
SupportsRegistrationProperties

Methods

Name Description
CompileTimeValidate(LocationInfo)
GetPropertyName()
GetPropertyType()
OnPropertyGet<T>(Object, out T)
OnPropertyInitialized(LocationInitializationArgs)
OnPropertySet<T>(Object, ref T)
RegisterProperty(Type, Type)