Method ShouldSerializeProperty
ShouldSerializeProperty(DependencyProperty)
Override this method to control whether a DependencyProperty should be serialized. The base implementation returns true if the property is set (locally) on this object.
protected virtual bool ShouldSerializeProperty(DependencyProperty dp)