BaseTableControl.getMaxNumberOfResultPages

Returns the maximum number of page numbers included in the navigation bar when property includePageNumbers is true.

Further documentation.

returns int