public MainForm() : base(false) { TheForm.Menu = null; var pivot = new Pivot("SETTINGS".Localize()) { Size = new Size(480, 700), }; pivot.AddPivotItem(CreateFirstPage()); pivot.AddPivotItem(CreateSecondPage()); Control.AddElement(pivot); }
public PivotPage() { LeftMenu.DisplayText = "Back"; LeftMenu.OnClickAction = () => this.Close(); this.Control.ShadowedAnimationMode = Fleux.Controls.FleuxControl.ShadowedAnimationOptions.FromRight; var pivot = new Pivot("SETTINGS") { Size = this.Control.Size }; pivot.AddPivotItem(new SystemPivotItem()); pivot.AddPivotItem(new FleuxSettingsPivotItem()); pivot.AddPivotItem(new TextPivotItem(this.Size.Width - 21)); this.Control.AddElement(pivot.AnimateHorizontalEntrance(true)); this.Control.EntranceDuration = 300; }
public SmsList() : base(false) { TheForm.Menu = null; var pivot = new Pivot("SMS") { Size = new Size(480, 700), }; pivot.AddPivotItem(CreateFontPage()); //pivot.AddPivotItem(CreateFirstPage()); Control.AddElement(pivot); //FillStores(); }