private void Stickers_ItemClick(object sender, ItemClickEventArgs e) { StickerClick?.Invoke(sender, e); if (Window.Current.Bounds.Width >= 500) { Focus(FocusState.Programmatic); } }
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); } }
private void Stickers_ItemClick(Sticker obj) { StickerClick?.Invoke(obj); }