private void schedulerControl1_InplaceEditorShowing(object sender, InplaceEditorEventArgs e) { CustomInplaceEditor editor = new CustomInplaceEditor(schedulerControl1, e.Appointment); e.InplaceEditor = editor; editor.DataContext = editor; e.Bounds = new Rect(e.Bounds.TopRight, new Size(editor.Width, editor.Height)); }
public void OnInplaceEditorShowing(object sender, InplaceEditorEventArgs e) { if (!(e.Appointment.ResourceId is EmptyResourceId)) { e.InplaceEditorEx = new StandardAppointmentInplaceEditorControl(e.SchedulerInplaceEditorEventArgs);//new CustomStandardAppointmentInPlaceEditorControl(e.SchedulerInplaceEditorEventArgs); e.InplaceEditorEx.CommitChanges += InplaceEditorEx_CommitChanges; e.SchedulerInplaceEditorEventArgs.Handled = true; } }
private void schedulerControl1_InplaceEditorShowing(object sender, InplaceEditorEventArgs e) { }
private void SchedulerControl1_InplaceEditorShowing(object sender, InplaceEditorEventArgs e) { e.InplaceEditorEx = new MyInplaceEditorControl(e.SchedulerInplaceEditorEventArgs); }