public TimeslotSelectedEventArgs(RoutedEvent evt, TimeslotControl slot) : base(evt) { Slot = slot; }
// This method raises the Tap event private void OnSelectionChanged(TimeslotControl sender) { TimeslotSelectedEventArgs newEventArgs = new TimeslotSelectedEventArgs(TimelineControl.SlotSelectedEvent, sender); RaiseEvent(newEventArgs); }