예제 #1
0
 protected override void LayoutChildren(double x, double y, double width, double height)
 {
     if (Flyout == null || Detail == null)
     {
         throw new InvalidOperationException("Flyout and Detail must be set before using a FlyoutPage");
     }
     _flyout.Layout(_flyoutBounds);
     _detail.Layout(_detailBounds);
 }
예제 #2
0
 protected override void LayoutChildren(double x, double y, double width, double height)
 {
     if (Master == null || Detail == null)
     {
         throw new InvalidOperationException("Master and Detail must be set before using a MasterDetailPage");
     }
     _master.Layout(_masterBounds);
     _detail.Layout(_detailBounds);
 }