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

DependencyPropertyBaseAttribute.RegisterProperty Method

RegisterProperty(Type, Type)

Registers the property and gets the System.Windows.DependencyProperty object.

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