For a polygon graphics layer, we are attempt to create the fill symbology in XAML to support custom �??Selected�?� and �?�Unselected�?� states. Additionally, there is a user requirement to allow a mouse over states; such has changing the color of the border of the polygon when the mouse enters the polygon.
1. A SolidColorBrush has been added to the Attributes of the graphic. We are attempting to databind the brush to the XAML using the dictionary converter. This is failing with the following exception: �??Cannot find a Resource with the Name/Key DictConvert�?�
2. We are attempting to use multiple paths (one for each the normal, selected and mouse over states) contained within a grid. However, the polygon does not render when we use this approach.
Which version of Silverlight and ESRI API are you using? If you're at 4.0 and 2.0+, you don't need the dictionary converter anymore. Just bind with expressions like {Binding Attributes[attributename]}. Regarding issue 2, I don't think you can use multiple paths in a polygon symbol template. The base control is a path object named "Element". Although this limits you in styling choices, you should be able to support Normal/MouseOver/Selected visual states. For example, we use the line color/thickness to indicate selection, and show a drop shadow to indicate mouse hovering.