2.I use a color dialog to set the color of border/fill and change opacity, no xaml-defined style.
When changing a layers index in the map, the symbology changes to something completely different
How to do change the color? Are you changing the symbol (i.e creating a new symbol for each color) or are you changing an attribute value that is binded to the border color by your custom symbol?Depending on how it's done, setting RendererTakesPrecedence to false might help.
TextSymbol textSymbol = new TextSymbol() { FontSize = fontSize, Text = textBoxLabel.Text, Foreground = new SolidColorBrush(Color.FromArgb(255, argb.red, argb.green, argb.blue)) }; Graphic textLabel = new Graphic() { Symbol = textSymbol, Geometry = mapPoint };
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.