FrameworkElement.ShouldSerializeResources Method ()
Returns whether serialization processes should serialize the contents of the Resources property.
Assembly: PresentationFramework (in PresentationFramework.dll)
This will return true as long as there is at least one keyed resource in the local Resources.
.NET Framework
Available since 3.0
Available since 3.0