Back to Devexpress

SchedulerControl.AllowAppointmentConflicts Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-b3ad4a03.md

latest3.6 KB
Original Source

SchedulerControl.AllowAppointmentConflicts Property

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

Declaration

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

Property Value

TypeDescription
Boolean

true, to allow appointment conflicts; otherwise, false.

|

Remarks

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.

wpf-scheduler-generate-time-scales-from-view-model-collection/CS/WpfSchedulerTimelineScalesTemplate/MainWindow.xaml#L40

xml
<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

xml
</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

xml
GroupType="Resource"
AllowAppointmentConflicts="False"
AllowAppointmentCreate="False"

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace