Gets the default metadata of the dependency property.
Assembly: WindowsBase (in WindowsBase.dll)
The default metadata is the property metadata that is available to that particular object or an object of a derived type where no alternative metadata was supplied by an explicit Register or OverrideMetadata call.
If the original owner applied metadata to the first Register call that established the dependency property, then that metadata is returned as .
For nonattached properties, the metadata type returned by this property cannot be cast to derived types of PropertyMetadata type, even if the property was originally registered with a derived metadata type. If you want the originally registered metadata including its original possibly derived metadata type, call GetMetadata(Type) instead, passing the original registering type as a parameter.
For attached properties, the type of the metadata returned by this property will match the type given in the original RegisterAttached registration method.