The samples with uniquevaluerenderer on featurelayer use an attribute of type string in the UniqueValueInfo's. I need to render on an attribute value of type int.
This example does not work for me in API version 2.0 beta:
<esri:UniqueValueRenderer x:Name="ActionLine_Renderer" Attribute="Type" DefaultSymbol="{StaticResource DefaultFillSymbol}">
<esri:UniqueValueRenderer.Infos>
<esri:UniqueValueInfo Value="0" Symbol="{StaticResource Line_Rood_Dik}" />
<esri:UniqueValueInfo Value="1" Symbol="{StaticResource Line_Rood_Dik}" />
<esri:UniqueValueInfo Value="2" Symbol="{StaticResource Line_Rood_Middel}" />
<esri:UniqueValueInfo Value="3" Symbol="{StaticResource Line_Rood_Dun}" />
</esri:UniqueValueRenderer.Infos>
</esri:UniqueValueRenderer>
On another featrelayer I use a uniquevaluerenderer based on an attribute of type string. That works fine.
Any suggestions ?