Class DependencyPropertyAttribute
Custom attribute that, when applied on an automatic property, turns this property into a XAML dependency property of the same name.
Inheritance
Implements
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml.dll
Syntax
[MulticastAttributeUsage(PersistMetaData = true)]
[HasConstraint]
[Serializer]
public sealed class DependencyPropertyAttribute : DependencyPropertyBaseAttribute, ILocationLevelAspect, ILocationLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IAspectProvider, IAspect, IService, ILocationValidationHandler
Constructors
Name | Description |
---|---|
DependencyPropertyAttribute() | |
DependencyPropertyAttribute(PortableFormatterConstructorContext) |
Properties
Name | Description |
---|---|
DefaultValue | Gets or sets the initial value of the dependency property and the DefaultValue property of the dependency property metadata. If you set this property, do not use a property initializer. |
SupportsRegistrationProperties |