private void RaiseAppointmentEditedEvent(IAppointment appointment)
        {
            var editedEventArgs = new AppointmentEditedEventArgs(
                RadScheduler.AppointmentEditedEvent,
                appointment);

            this.itemsControl.RaiseEvent(editedEventArgs);
        }
        private void RaiseAppointmentEditedEvent()
        {
            var editedEventArgs = new AppointmentEditedEventArgs(
                RadScheduler.AppointmentEditedEvent,
                this.AppointmentSlot.Occurrence.Appointment);

            if (this.AppointmentSlot.Occurrence.State == RecurrenceState.Exception)
            {
                editedEventArgs.ExceptionAction     = ExceptionAction.Edit;
                editedEventArgs.ExceptionOccurrence = this.AppointmentSlot.Occurrence;
            }
            this.RaiseEvent(editedEventArgs);
        }
Ejemplo n.º 3
0
        private void CompleteDrop(IAppointment app)
        {
            this.ClearAllItemsIsDropPossibleProperty();
            if (this.Scheduler != null)
            {
                this.Scheduler.CurrentTimeSlotItemsControl = null;
            }
            this.AppointmentsControl.AppointmentItemsControl.IsDragging = false;

            var editedEventArgs = new AppointmentEditedEventArgs(
                RadScheduler.AppointmentEditedEvent,
                app);

            this.RaiseEvent(editedEventArgs);
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Raises the <see cref="AppointmentEdited"/> event.
 /// </summary>
 /// <param name="args">The <see cref="AppointmentEditedEventArgs"/> instance containing the event data.</param>
 protected virtual void OnAppointmentEdited(AppointmentEditedEventArgs args)
 {
     this.RaiseEvent(args);
 }