Skip to main content

OptionsCustomization Class

Provides customization options for the scheduler control.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public class OptionsCustomization :
    SchedulerOptionsBase<SchedulerOptionsCustomization>

#Returned By

The SchedulerControl.OptionsCustomization property returns an instance of OptionsCustomization.

#Remarks

The OptionsCustomization class provides a set of properties that control which parts of the scheduler control's functionality are available to end-users. An instance of this class can be accessed via the SchedulerControl.OptionsCustomization property.

#Examples

This example demonstrates how to prevent end-users from creating appointments within a certain time interval (from 2 PM to 3 PM). To implement end-user restrictions, handle the SchedulerControl.AllowAppointmentCreate event to prevent end-users from creating appointments within a certain time interval and the SchedulerControl.AllowAppointmentConflicts event to prevent an existing appointment from being dragged to the same time interval:

See Also