how add contextual menu in layers with silverlight

4012
2
03-31-2015 05:23 AM
LucianaArrúa
New Contributor III

I need add in my application with silverlight, right click or menu contextual in layers list .

For example, add menu contextual for "open attribute table" similar in arcmap.

Please any suggestions???

Thanks.

Lic. Luciana

0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor

The KML viewer I wrote some time ago is doing that.

By right clicking on the legend items, you get a menu allowing to rename, delete, set min/max scale, zoom to full extent.....

You can also create new group layers and reorganize your layers by drag and drop.

The source code is provided in ArcGIS On Line.

LucianaArrúa
New Contributor III

Thanks for your help.

one more question ....
How adds in the contextual menu an option to "open attribute table" and link layer associated with?

and also  add toolbar with zoom out , print button??

attached images...

thanks,

LucianaTABLA DE ATRIBUTOS.jpgTOOLBAR.jpg

0 Kudos