예제 #1
0
 /// <summary>
 /// Raises the <see cref="AppointmentDropping"/> event in Scheduler.
 /// </summary>
 /// <param name="args">
 /// Specifies the <see cref="Syncfusion.UI.Xaml.Scheduler.AppointmentDroppingEventArgs"/> that contains the event data.
 /// </param>
 private void OnSchedulerAppointmentDropping(object sender, AppointmentDroppingEventArgs e)
 {
     droppingTime = e.DropTime;
 }
        private void AssociatedObject_AppointmentDropping(object sender, AppointmentDroppingEventArgs e)
        {
            var dropitem = e.TargetResource.Name;

            MessageBox.Show("Resource change into" + " " + dropitem, " ", MessageBoxButton.OK);
        }
        private void AssociatedObject_AppointmentDropping(object sender, AppointmentDroppingEventArgs e)
        {
            var dropTime = e.DropTime;

            e.DropTime = new DateTime(dropTime.Year, dropTime.Month, dropTime.Day, dropTime.Hour, 0, 0);
        }