PropertyMetadata.OnApply Method (DependencyProperty, Type)
Called when this metadata has been applied to a property, which indicates that the metadata is being sealed.
Assembly: WindowsBase (in WindowsBase.dll)
Subclasses should assure that any mutability of the data structure of a PropertyMetadata subclass should be marked as immutable once is called. This will be called once the metadata is applied to a property system operation (register, add owner, override metadata).
Available since 3.0