Exemplo n.º 1
0
        private void Stickers_ItemClick(object sender, ItemClickEventArgs e)
        {
            StickerClick?.Invoke(sender, e);

            if (Window.Current.Bounds.Width >= 500)
            {
                Focus(FocusState.Programmatic);
            }
        }
Exemplo n.º 2
0
        private void Stickers_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (e.ClickedItem is ViewModels.Dialogs.StickerViewModel sticker && sticker.StickerData != null)
            {
                StickerClick?.Invoke(sticker.Get());
            }

            if (Window.Current.Bounds.Width >= 500)
            {
                Focus(FocusState.Programmatic);
            }
        }
Exemplo n.º 3
0
 private void Stickers_ItemClick(Sticker obj)
 {
     StickerClick?.Invoke(obj);
 }