public Issue1769() { var button = new Button() { Text = "Go To Page 2" }; var switchDemo = new SwitchDemoPage(); button.Clicked += async(sender, args) => { await((Button)sender).Navigation.PushAsync(switchDemo); }; Content = button; }
public Issue1769() { var button = new Button() { Text = "Go To Page 2" }; var switchDemo = new SwitchDemoPage(); button.Clicked += async (sender, args) => { await ((Button)sender).Navigation.PushAsync(switchDemo); }; Content = button; }