FrameworkElement.ShouldSerializeResources Method
.NET Framework 4.6 and 4.5
Returns whether serialization processes should serialize the contents of the Resources property.
Namespace: System.Windows
Assembly: PresentationFramework (in PresentationFramework.dll)
This will return true as long as there is at least one keyed resource in the local Resources.
Show: