wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-4db52b7d.md
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
public bool AllowAppointmentCreate { get; set; }
Public Property AllowAppointmentCreate As Boolean
| Type | Description |
|---|---|
| Boolean |
true, to allow creating new appointments; otherwise, false.
|
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
AllowAppointmentConflicts="False"
AllowAppointmentCreate="False"
AllowReminders="False"
See Also