Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Xaml Namespace / Dependency­Property­Base­Attribute Class / Dependency­Property­Base­Attribute Properties / Dependency­Property­Base­Attribute.​Registration­Property Property

DependencyPropertyBaseAttribute.RegistrationProperty Property

Gets or sets the name of the property that exposes the instance of the registered DependencyProperty.

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 string RegistrationProperty { get; set; }

Property Value

Type: String
Remarks

The registration property must be a public static property of type DependencyProperty declared in the same class as the target property.

If this property is not set then the default FooProperty value is used, where Foo is the name of the dependency property.

See Also