Enables a merge of the source metadata with base metadata.
Assembly: PresentationFramework (in PresentationFramework.dll)
'Declaration Protected Overrides Sub Merge ( _ baseMetadata As PropertyMetadata, _ dp As DependencyProperty _ )
This method is used internally when metadata is being overridden.Notes to Inheritors
Classes that derive from PropertyMetadata (or this class particularly) should override this method to account for any metadata properties they have added in their implementations. For instance, your implementation might have added a new flagwise enumeration value, and the implementation should then be able to combine those flags correctly.
Always call the base implementation prior to your own implementation, because the base implementation takes care of merging all the properties already defined on previous types in the hierarchy.
The behavior also implements the behavior when you override the property metadata on an existing dependency property by calling OverrideMetadata., using override metadata that is FrameworkPropertyMetadata.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.