public async void doAppear() { while (Width == -1) { await Task.Delay(1); } Master.BackgroundColor = FixParams.PanelColor; Master.Opacity = 1; ShortCutMenu.BackgroundColor = FixParams.PanelColor; ShortCutMenu.Opacity = 1; MasterPage.Content = Master; ShortCutPage.Content = ShortCutMenu; Children.Add(Detail); Children.Add(ShortCutPage); Children.Add(MasterPage); MasterPage.IsVisible = false; ShortCutPage.IsVisible = false; Detail.Layout(new Rectangle(0, 0, Width, Height)); Master.Layout(getMasterClosedRectangle()); ShortCutMenu.Layout(getShortcutClosedRectangle()); }
public void doShortcutSmoothClose() { ShortCutMenu.Layout(getShortcutClosedRectangle()); ShortCutPage.IsVisible = false; }
public void doShortcutSmoothOpen() { ShortCutMenu.Layout(getShortcutOpenedRectangle()); }