ArcGIS Pro 2.9 API Reference Guide
RecalculateRenderer Method

ArcGIS.Desktop.Mapping Namespace > FeatureLayer Class : RecalculateRenderer Method
Overload List
OverloadDescription
Updates the renderer based on updated values from the data source. This method must be called on the MCT. Use QueuedTask.Run  
Updates the renderer based on updated values from the data source. For example, if a new unique value gets added to the FeatureClass, in case of unique value renderer, it gets updated with the newly added value. Similarly with class breaks renderer, it tries best to preserve the number of class breaks and recalculates the break values based on the updated values. This method must be called on the MCT. Use QueuedTask.Run  
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FeatureLayer Class
FeatureLayer Members