wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-b3ad4a03.md
Gets or sets whether sharing the schedule time between two or more 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 AllowAppointmentConflicts { get; set; }
Public Property AllowAppointmentConflicts As Boolean
| Type | Description |
|---|---|
| Boolean |
true, to allow appointment conflicts; otherwise, false.
|
By default, the time interval of two or more appointments can intersect. Use the AllowAppointmentConflicts property to control the end-users’ capability to share the scheduler time between two or more appointments in a centralized manner. You can also override this global behavior by handling the SchedulerControl.CustomAllowAppointmentConflicts event.
The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowAppointmentConflicts 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.
<Grid>
<dxsch:SchedulerControl x:Name="scheduler" GroupType="None" Start="{Binding Start, Mode=TwoWay}" AllowAppointmentConflicts="True">
<dxsch:TimelineView x:Name="timelineView" IntervalCount="8" TimeScalesSource="{Binding TimeScales}" TimeScaleTemplateSelector="{StaticResource TimeScaleTemplateSelector}"/>
wpf-scheduler-highlight-time-intervals/CS/SchedulerCellTemplate/MainWindow.xaml#L26
</dxlc:LayoutControl>
<dxsch:SchedulerControl x:Name="scheduler" GroupType="Resource" Start="{Binding Start, Mode=TwoWay}" AllowAppointmentConflicts="True">
<dxsch:DayView
wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L17
GroupType="Resource"
AllowAppointmentConflicts="False"
AllowAppointmentCreate="False"
See Also