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

Pass an integer as command parameter in xaml

$
0
0

I have a CommandTest
with OnTest(int i) {...}

In my Xaml it would like to use
' CommandParameter = "{x:Type:Int64(0)}"
'
as VS 2017 Autocompletion suggests.

Unfortunately, I get an error
"Value does not fall within the expected range"....

Can someone please shed some light on what could be wrong ...


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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