Back to Devexpress

SchedulerControl.CustomAllowInplaceEditor Event

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-453858f5.md

latest2.5 KB
Original Source

SchedulerControl.CustomAllowInplaceEditor Event

Occurs when trying to invoke an appointment’s in-place editor.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public event AppointmentItemOperationEventHandler CustomAllowInplaceEditor
vb
Public Event CustomAllowInplaceEditor As AppointmentItemOperationEventHandler

Event Data

The CustomAllowInplaceEditor event's data class is AppointmentItemOperationEventArgs. The following properties provide information specific to this event:

PropertyDescription
AllowGets or sets whether performing a particular action is allowed.
AppointmentGets the appointment for which the element is raised. Inherited from AppointmentItemEventArgs.
RecurringGets whether the target appointment is recurring.

Remarks

Handle the CustomAllowInplaceEditor event and set its AppointmentItemOperationEventArgs.Allow property to specify a particular case when an end-user is allowed to invoke the in-place editor for an appointment. If you do not specify the required behavior manually, the SchedulerControl.AllowInplaceEditor property manages whether invoking the inplace editor is alllowed.

Access the appointment to be edited using the AppointmentItemEventArgs.Appointment property.

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace