Select to view content in your preferred language

Displaying a TOC without the symbology

914
2
10-11-2011 04:24 AM
PaulHuppé
Deactivated User
Hi,

I got asked if it was possible to display a TOC without showing the symbology?  After looking at the "Legend" control, there is no options to do that.  Also, when I look at template definitions for "Legend.LayerTemplate" is does not appear that this will do it either.  Is it possible to display a "Legend" control without displaying the symbology for the layers?

Thanks,
Paul
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
You can set to null the LegendItemTemplate.
In XAML : <esri:Legend LegendItemTemplate="{x:Null}" .....
0 Kudos
PaulHuppé
Deactivated User
Hi Dominique,

Thanks, that was too easy!!

Paul
0 Kudos