Guest User

Untitled

a guest
Aug 14th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. using System;
  2. using ReactiveUI;
  3. using RxUIForms.ViewModels;
  4. using Xamarin.Forms;
  5. using Xamvvm;
  6.  
  7. namespace RxUIForms.Views
  8. {
  9. public class AppShell : MasterDetailPage, IBasePageRxUI<AppShellViewModel>
  10. {
  11. public AppShell()
  12. {
  13. Master = this.GetPageFromCache<MenuPageViewModel>() as Page;
  14. Detail = new NavigationPage(this.GetPageFromCache<HomePageViewModel>() as Page)
  15. {
  16. BarTextColor = Color.White,
  17. BarBackgroundColor = Color.FromHex("#394A76"),
  18. Title = "Home Page"
  19. };
  20. }
  21.  
  22. public AppShellViewModel ViewModel { get; set; }
  23. object IViewFor.ViewModel { get; set; }
  24. }
  25. }
Add Comment
Please, Sign In to add comment