Hello friends.
I want to restyle existing design of PanZoomBar. I want to create own design. How I can do this?
Sorry for my bad English.
Thanks
Hello friends.
I want to restyle existing design of PanZoomBar. I want to create own design. How I can do this?
Sorry for my bad English.
Thanks
Hi Yura,
Usually, Skinning is a way to completely replace the look of the Silverlight control. In order to do that, you have to define new template and set it to the control.template property. The attached is a simple demo about how to re-define the template for PanZoomBar. From that, we know the steps as following:
1. Define the new controltemplate for PanZoomBarMapTool.
2. Assign the new controltemplate to the built-in PanZoomBarMapToll via the map's property.
Note: Please don't remove any element in the control template, because some events are attached to these canvas.
Thanks,
Johnny
001_GettingStarted.zip (1.41 KB)
Thank you for your help, Johnny
You are so welcome. Any questions please be free to post here.
Thanks,
Johnny