Exemplo n.º 1
0
        public WindowsTabbedPageCS(ICommand restore)
        {
            _returnToPlatformSpecificsPage = restore;

            Children.Add(CreateContentPageOne());
            Children.Add(CreateContentPageTwo());
            WindowsPlatformSpecificsHelpers.AddToolBarItems(this);
        }
        public WindowsMasterDetailPageCS()
        {
            On <Windows>().SetCollapseStyle(CollapseStyle.Partial);
            MasterBehavior = MasterBehavior.Popover;

            Master = CreateMasterPage();
            Detail = detailPage = CreateDetailPage();
            WindowsPlatformSpecificsHelpers.AddToolBarItems(this);
        }
Exemplo n.º 3
0
        public WindowsFlyoutPageCS(ICommand restore)
        {
            _returnToPlatformSpecificsPage = restore;

            On <Windows>().SetCollapseStyle(CollapseStyle.Partial);
            FlyoutLayoutBehavior = FlyoutLayoutBehavior.Popover;

            Flyout = CreateFlyoutPage();
            Detail = detailPage = CreateDetailPage();
            WindowsPlatformSpecificsHelpers.AddToolBarItems(this);
        }
Exemplo n.º 4
0
 public WindowsNavigationPageCS()
 {
     WindowsPlatformSpecificsHelpers.AddToolBarItems(this);
     PushAsync(CreateContentPageOne());
 }
Exemplo n.º 5
0
 public WindowsNavigationPageCS(ICommand restore)
 {
     _returnToPlatformSpecificsPage = restore;
     WindowsPlatformSpecificsHelpers.AddToolBarItems(this);
     PushAsync(CreateContentPageOne());
 }
Exemplo n.º 6
0
 public WindowsTabbedPageCS()
 {
     Children.Add(CreateContentPageOne());
     Children.Add(CreateContentPageTwo());
     WindowsPlatformSpecificsHelpers.AddToolBarItems(this);
 }