DependencyPropertyBaseAttribute.RegistrationProperty Property
RegistrationProperty
Gets or sets the name of a property or field that exposes the instance of the registered DependencyProperty.
Declaration
public string RegistrationProperty
{
[Internal(AttributeId = 6350852601680003101L)]
get;
[Internal(AttributeId = 6350852601680003101L)]
set;
}
Property Value
Type | Description |
---|---|
System.String |
Remarks
The registration property must be a public static property or public static field 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.