Exemplo n.º 1
0
        private void _setsContentPresenter_Loaded(object sender, RoutedEventArgs e)
        {
            _setsContentPresenter.Loaded -= _setsContentPresenter_Loaded;
            var args = new SetSelectedEventArgs(((SetsViewItem)ContainerFromItem(SelectedItem))?.Content, (SetsViewItem)ContainerFromItem(SelectedItem));

            SetSelected?.Invoke(this, args);
        }
Exemplo n.º 2
0
        private void SetsViewItem_Tapped(object sender, TappedRoutedEventArgs e)
        {
            var args = new SetSelectedEventArgs(((SetsViewItem)ContainerFromItem(SelectedItem))?.Content, (SetsViewItem)ContainerFromItem(SelectedItem));

            SetTapped?.Invoke(sender, args);
        }