Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

WPF ClickGestureRecognizer

$
0
0

Is ClickGestureRecognizer implemented for WPF yet?

If so, could someone please show a usage example?

If not, can someone please suggest a workaround?

I've tried using ClickGestureRecognizer but can't seem to get the event to fire, though tap does.

<BoxView BackgroundColor="#55555555">
    <BoxView.GestureRecognizers>
        <ClickGestureRecognizer Clicked="ClickGestureRecognizer_OnClicked" />
    </BoxView.GestureRecognizers>
</BoxView>

I need to capture a mouse click event and know the mouse position relative to the clicked element.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>