ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / DiscreteColorizerDefinition Class / NumberOfColors Property
Version

NumberOfColors Property
Gets and sets the number of colors.
Syntax
public Nullable<int> NumberOfColors {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also