In winforms, we can determine which mouse key is pressed by doing like this:
private void winformsMap1_MapClick(object sender, WinformsMapClickEventArgs e)
if ((e.Button == MouseButtons.Left)....
But in WPF,
private void wpfMap1_MapClick(object sender, WpfMapClickEventArgs e)
if ((e.LeftButton==MouseButtonState.Pressed).....
the above method is not working, the expression "e.LeftButton==MouseButtonState.Pressed" always evaluates to false whenever left mouse button is clicked on the map. May i know what is the proper way to do this?
Ric