This project has moved and is read-only. For the latest updates, please go here.

Mouse Usage breaks my Bindings

Feb 19, 2013 at 5:24 PM
<map:Map Grid.Row="0"
   Name="map" IsManipulationEnabled="True"                 
   TargetCenter="{Binding TargetCenter}"   />            
I'm using the above binding to pan the map using button controls. After using the mouse for panning, the binding ceases to work.

Any idea what's going on here? My guess is that this sis some issue with the DP system, but since I'm a WPF newbie, I'm not quite sure.
Feb 20, 2013 at 8:11 AM
You have to make it a two-way Binding:
TargetCenter="{Binding TargetCenter, Mode=TwoWay}"   
I guess I will have to check if it makes sense to let all Map properties bind two-way by default.
Feb 20, 2013 at 8:27 AM
Thank you, it works.