public Issue2357() { MasterViewModel = new MasterViewModel(); MasterViewModel.PageSelectionChanged += MasterViewModelOnPageSelectionChanged; BindingContext = MasterViewModel; Detail = new NavigationPage(new ContentPage { Title = "Home", Content = new Label { Text = "Hello, Forms !", VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand } }); InitializeComponent(); }
public Issue2357 () { MasterViewModel = new MasterViewModel (); MasterViewModel.PageSelectionChanged += MasterViewModelOnPageSelectionChanged; BindingContext = MasterViewModel; Detail = new NavigationPage (new ContentPage { Title = "Home", Content = new Label { Text = "Hello, Forms !", VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand } }); InitializeComponent (); }