PostSharpAPI ReferencePost­Sharp.​Patterns.​XamlDependency­Property­Base­AttributeRegister­Property
Open sandboxFocus

DependencyPropertyBaseAttribute.RegisterProperty Method

RegisterProperty(Type, Type)

Registers the property and gets the DependencyProperty object.

Declaration
protected abstract DependencyProperty RegisterProperty(Type propertyType, Type declaringType)
Parameters
Type Name Description
System.Type propertyType
System.Type declaringType
Returns
Type Description
DependencyProperty