public WalletChartView(Wallet myWallet, int height, WalletPage parent) { this.myWallet = myWallet; this.parent = parent; Orientation = StackOrientation.Horizontal; VerticalOptions = LayoutOptions.End; HorizontalOptions = LayoutOptions.Center; HeightRequest = height; this.CreateChart(); }
public RemoveAmountForm(Wallet myWallet, List <Currency> currencies, WalletPage walletPage) { this.myWallet = myWallet; this.currencies = currencies; this.walletPage = walletPage; initCurrencyPicker(); initAddButton(); Orientation = StackOrientation.Horizontal; VerticalOptions = LayoutOptions.End; HorizontalOptions = LayoutOptions.Center; Padding = new Thickness(0, Device.OnPlatform(10, 10, 10), 0, 0); this.Children.Add(amountEntry); this.Children.Add(currencyPicker); this.Children.Add(addButton); }
public App() { InitializeComponent(); MainPage = new WalletPage(); }