Select to view content in your preferred language

How to customize or disable (invisible) template picker in widget in ArcGIS API 2?

3873
3
10-11-2010 08:45 AM
XiujuZhou
Emerging Contributor
I have ArcGIS API 2 for silverlight application. I need to make the symbol template picker into 1 row not 2 two rows in editor widget since I have only 3 symbol types, or remove/disable or invisibling the template picker in the widget. Is anyone can help me? thanks.
0 Kudos
3 Replies
dotMorten_esri
Esri Notable Contributor
0 Kudos
XiujuZhou
Emerging Contributor
This one in the sample is individul template picker separated from editor widget. I want to keep the widget. have 2 options to do, but don't know how to do:
1.  customize the build-in template picker if it is possible. how to customize it?
2. or  add a separated template picker, but I have to remove the build-in template picker from widget first. how to remove it?

Take a look at this sample:
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitTemplatePickerStyles
0 Kudos
JenniferNery
Esri Regular Contributor
If you have Expression Blend, you can edit existing template and create a new EditorWidgetStyle as in the attached sample here http://forums.arcgis.com/threads/9756-Undo-edits-of-the-EditorWidget.  Using the link Morten provided, you can also update the style of the TemplatePicker contained in your EditorWidgetStyle.
0 Kudos