Is there a way to disable inline editing (when the user clicks on the appointment) of an appointment's subject?
I want an appointment only to be editable through the Appointment Dialog.
Thanks in advance.
Currently there is no property to disable this. The next version will include properties to control how an activity may be edited. For now you would probably need to retemplate the AppointmentPresenter such that its template does not contain an element named "Editor". You can find the default styles/templates in the DefaultStyles directory (e.g. in the C:\Program Files\Infragistics\NetAdvantage 2010.3\WPF\DefaultStyles\Schedule directory).
Thanks, Andrew.
I wasn't sure what to change in the template but changing the names of the Edit panels did the trick. I hope changing these won't break anything else?
BTW I think I made a mistake with regards to the next version. In 11.1 there will be properties to control how an activity can be created but in place editing of an existing activity is always allowed as long as the activity is editable.
How can activity creation be controlled in version 11.1? And is it maybe possible to disable the control's edit activity dialog?
BR, Tris
tris said:How can activity creation be controlled in version 11.1?
tris said:And is it maybe possible to disable the control's edit activity dialog?
Note: If you re-template the ActivityDialogCore or create you're own it will be your responsibility to ensure that you disable the appropriate UI. In the case of the ActivityDialogCore that is usually done by binding the IsEnabled property to the IsActivityModifiable of the ActivityDialogCore.
Thank you - that's exactly what I was looking for. One more question: is there an event handler for die dialog showing before editing recurring appointments? That dialog, asking for deleting/editing only this element or the series.
The XamScheduleDataManager has an ActivityRecurrenceChooserDialogDisplaying event that is raised before the dialog that prompts for whether it should act on the series/occurrence.