Method OnApply
OnApply(DependencyProperty, Type)
Notification that this metadata has been applied to a property and the metadata is being sealed
protected virtual void OnApply(DependencyProperty dp, Type targetType)
Parameters
dp
DependencyPropertyDependencyProperty
targetType
TypeType associating metadata (null if default metadata)
Remarks
Normally, any mutability of the data structure should be marked as immutable at this point