Select to view content in your preferred language

esriSymbols in silverlight

650
4
06-28-2010 03:46 AM
AdiSwissa
New Contributor
Hi,

How can I draw polyline and polygon on Button
By using esriSymbol?

(without binding)
0 Kudos
4 Replies
PreetiMaske
Esri Regular Contributor
Take a look at following two samples. They both illustrate creating Polyine and Polygon using esri symbols.
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphicsXAML
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics
Hope that helps.
0 Kudos
AdiSwissa
New Contributor
Its drawing on map,
how to draw polyline on button ( as background) or canvas.
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Here is an example of button using a geometry path :
http://weblogs.asp.net/gavinleader/archive/2008/06/19/silverlight-2-creating-a-play-pause-button-usi...
There is no relationship with ArcGIS API so perhaps I misunderstood your question.
0 Kudos
dotMorten_esri
Esri Notable Contributor
Check out the ESRI.ArcGIS.Client.Toolkit.Primitives.SymbolDisplay control.
0 Kudos