seannakasone

how to find out if values are grouped in IUniqueValueRenderer

Discussion created by seannakasone on Jun 4, 2014
Latest reply on Jun 5, 2014 by seannakasone
Hi, I trying to use IUniqueValueRenderer.get_Symbol(value) .  The reference says to pass the value when there's no grouping.  When there's grouping, you pass the reference value.  How do you find out if values are grouped or not?

I tried to use IUniqueValueRenderer.get_ReferenceValue(value), thinking it would return null when there's no grouping, but it actually throws an exception.

I guess I could catch the exception and use that to indicate whether there's grouping or not, but that's an inappropriate use of an exception.

suggestions?

Outcomes