ArcGIS Pro 2.7 API Reference Guide
ValuesLimit Property

ArcGIS.Desktop.Mapping Namespace > UniqueValueRendererDefinition Class : ValuesLimit Property
Gets or sets a limit on how many unique values will be retrieved from the table.
Syntax
public int ValuesLimit {get; set;}
Public Property ValuesLimit As Integer
Remarks
You can pass 0 to retrieve all unique values. By default it is set to 100.
When you set it to other than 0, you should set DefaultSymbol and UseDefaultSymbol so that you will miss any features from drawing.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UniqueValueRendererDefinition Class
UniqueValueRendererDefinition Members