Can someone explain to me how the IsActive property of CustomStyles is supposed to work? I've added two point styles to a ZoomLevel's CustomStyles and it displays both, as I would expect. (A big green square with a smaller green circle inside or the other way around...) I have two checkboxes, one for each of these styles, and when the checkbox changes I set the IsActive property of the corresponding to the value of the checkbox, in the hope of being able to turn the styles on and off via user interaction. I then refresh the map, but both styles continue to display. I even reapply the "ApplyUntilZoomLevel". Is this what "IsActive" is supposed to do or am I reading things wrong? If I'm wrong, how could I turn specific styles in the CustomStyles collection on or off via code? I'm doing some testing for a scenario where map styles can change based on an application action.
Thanks,
Allen