Method ResetCachedResources
ResetCachedResources()
Resets all cached resources used for rendering.
public virtual void ResetCachedResources()
Remarks
This method clears any cached brushes, pens, and paints, ensuring that subsequent rendering operations will recreate these resources as needed. Use this method to release memory or refresh resources when their state may have changed due to changes in system colors or user preferences.