We are using WPF map control and by default the map navigation is at top left.
We need the navigation at top right as per the attached screenshot.
Please help.
How to change the position of navigation control in WPF map
Re: How to change the position of navigation control in WPF
Given the WPF map control in the variable wpfMap, the following code should move the navigation gadget to the right hand side:
Code: Select all
...
var nav = wpfMap.FindRelative<NavigationGadget>();
nav.HorizontalAlignment = HorizontalAlignment.Right;
...
Frank Gailfuß
PTV GROUP Germany
PTV GROUP Germany
Re: How to change the position of navigation control in WPF
Thanks for the help your solution works for me.