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

PageRenderer Constructor taking one Argument

$
0
0

Hey,

This is my Code:

{
public class BeaconPage : ContentPage
{
public BeaconPage(int BeaconMinor){}
}
}

and trying to push to this Page in Xamarin.Forms:

Navigation.PushModalAsync(new BeaconPage(beaconMinor));

But somehow this does not Push to the Pagerenderer. Is it not possible to have a PageRenderer taking one Argument?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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