Beispiel #1
0
        private void SelectEvents(IEnumerable events)
        {
            // Set the active plugin to this one
            ClientState.Current.ViewController.SelectedPlugin = Plugin;

            // Replace the selected events
            State.SelectedEvents.ReplaceWithCast(events);

            // Scroll to the selected events
            EventsListView.ScrollIntoView(State.SelectedEvents);

            // Raise the selected event changed event
            OnSelectedEventChanged();
        }
Beispiel #2
0
 private void EventsListView_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     EventsListView.ScrollIntoView(EventsListView.SelectedItem);
 }