Is there any way to move the zoom/pan bar to the upper-right corner and style it?
Thanks,
.Ryan.
Is there any way to move the zoom/pan bar to the upper-right corner and style it?
Thanks,
.Ryan.
Hi, Ryan:
We can move the zoom/pan bar to the upper-right corner by simply setting its HorizontalAlignment property to HorizontalAlignment.Right; here is the code:map.MapTools.PanZoomBar.HorizontalAlignment = HorizontalAlignment.Right;
We have attached sample here; what we did is to rewrite the template of the PanZoomBar control. It's a little complicated to do so, but it's the best approach we can resort to by now.
Also, please notice that the sample can only work with the daily build tomorrow, because we have fixed some resource issues. We suggest to get the latest daily build package tomorrow and try the attached sample.
Thank you for your feed back and feel free to let us know if you have any further questions.
Howard
Post7829.zip (10.8 KB)