Back to Devexpress

SchedulerControl.AllowAppointmentCreate Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-4db52b7d.md

latest2.5 KB
Original Source

SchedulerControl.AllowAppointmentCreate Property

Gets or sets whether creating new appointments is allowed. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public bool AllowAppointmentCreate { get; set; }
vb
Public Property AllowAppointmentCreate As Boolean

Property Value

TypeDescription
Boolean

true, to allow creating new appointments; otherwise, false.

|

Remarks

By default, end-users can create new appointments using UI elements (popup menu, an inplace editor or the Edit Appointment dialog). Use the AllowAppointmentCreate property to control the end-user’s capability to create new appointments in a centralized manner. You can also override this global behavior by handling the SchedulerControl.CustomAllowAppointmentCreate event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowAppointmentCreate property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L18

xml
AllowAppointmentConflicts="False"
AllowAppointmentCreate="False"
AllowReminders="False"

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace