ClearGridOptions Method (GridOptionsEnvironment)
Clears all grid options for all maps in the Project. This method must
be called on the MCT. Use QueuedTask.Run.
Clear the Grid Options for All Maps
{
QueuedTask.Run(() =>
{
GridOptionsEnvironment.Instance.ClearGridOptions();
});
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)
ArcGIS Pro version: 3.7 or higher.