Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2085
GeographicShapeSeries Background Color Disapears
posted

I am loading in a shapefile into a GeographicShapeSeries and use a checkbox to control if the series is displayed or hidden on the xamGeographicMap by removing or adding the series from/to the xamGeoMap based on the state of the checkbox.  I only set the series' outline color and when series is displayed, the shapes represented (in this case, US state boundaries) are filled in with a gray background.  If I remove the series from the xamGeoMap and re-add it VIA the checkbox, the gray background disappears.  It seems a default background color is used even if the series' "Brush" property is set to null, but that "default" goes away if the series is removed and then re-added.  What can be done to prevent the use of a default fill bush when adding/removing series?  Attached is an example program.

GeoMapHighlightTest.zip