private void ButtonBuy_OnTap(object sender, GestureEventArgs e)
        {
            e.Handled = true;
            StockItemHeader viewModel = this.ViewModel;

            if (viewModel == null)
            {
                return;
            }
            StorePurchaseManager.BuyStickersPack(viewModel, this.Referrer, null, null);
        }
Example #2
0
        private void ButtonPurchase_OnTap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            e.Handled = true;
            StockItemHeader dataContext = base.DataContext as StockItemHeader;

            if (dataContext == null)
            {
                return;
            }
            CurrentStickersPurchaseFunnelSource.Source = StickersPurchaseFunnelSource.keyboard;
            StorePurchaseManager.BuyStickersPack(dataContext, "keyboard", null, null);
        }
        private void ButtonPurchase_OnTap(object sender, GestureEventArgs e)
        {
            e.Handled = true;
            StockItemHeader stockItemHeader = this.DataContext as StockItemHeader;

            if (stockItemHeader == null)
            {
                return;
            }
            CurrentStickersPurchaseFunnelSource.Source = StickersPurchaseFunnelSource.keyboard;
            StorePurchaseManager.BuyStickersPack(stockItemHeader, "keyboard", null, null);
        }