How to: Customize the Appearance of a Vector Element
This example shows how to customize the visual representation of a map's shape element (MapRectangle) via its template.
To change the appearance of a map shape (MapRectangle), use the corresponding appearance properties of the MapShape class ( e.g., MapShape.Fill, MapShape.HighlightFill, MapShape.StrokeStyle).