ArcGIS Pro 2.6 API Reference Guide
Redraw Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : Redraw Method
Set to true to truncate/reset any current feature caches on layers in the view
Force a redraw of the map view. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Redraw( 
   bool clearCache
)
Public Sub Redraw( _
   ByVal clearCache As Boolean _
) 

Parameters

clearCache
Set to true to truncate/reset any current feature caches on layers in the view
Exceptions
ExceptionDescription
Thrown when a method is called on the wrong Pro thread
Remarks
Set the clearCache = true to truncate the current feature cache(s). On the redraw, if clearCache is true, the feature cache(s) will be reset.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapView Class
MapView Members