corelibraries-devexpress-dot-xtrascheduler-dot-ui-dot-appointmentformcontrollerbase-4c799ac7.md
Informs whether the appointment is in conflict with another, and they are not reconciled.
Namespace : DevExpress.XtraScheduler.UI
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
public virtual bool IsConflictResolved()
Public Overridable Function IsConflictResolved As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the appointment conflict is resolved; otherwise, false.
|
If the SchedulerOptionsCustomization.AllowAppointmentConflicts setting is AppointmentConflictsMode.Allowed, then the IsConflictResolved method always returns true. The SchedulerControl.AllowAppointmentConflicts event is raised by this method if the SchedulerControl.AllowAppointmentConflicts is set to AppointmentConflictsMode.Custom.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsConflictResolved() method.
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.
return;
if (!Controller.IsConflictResolved()) {
ShowMessageBox(SchedulerLocalizer.GetString(SchedulerStringId.Msg_Conflict), Controller.GetMessageBoxCaption(SchedulerStringId.Msg_Conflict), MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
winforms-scheduler-custom-appointment-edit-form/CS/SchedulerDbExample/CustomAppointmentForm.cs#L287
return;
if (!Controller.IsConflictResolved()) {
ShowMessageBox(SchedulerLocalizer.GetString(SchedulerStringId.Msg_Conflict), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
// Required to check appointment's conflicts.
if (!controller.IsConflictResolved())
return;
// Required to check the appointment for conflicts.
if (!controller.IsConflictResolved())
return;
End If
If Not Controller.IsConflictResolved() Then
ShowMessageBox(SchedulerLocalizer.GetString(SchedulerStringId.Msg_Conflict), Controller.GetMessageBoxCaption(SchedulerStringId.Msg_Conflict), MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
winforms-scheduler-custom-appointment-edit-form/VB/SchedulerDbExample/CustomAppointmentForm.vb#L350
End If
If Not Controller.IsConflictResolved() Then
ShowMessageBox(SchedulerLocalizer.GetString(SchedulerStringId.Msg_Conflict), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
' Required to check appointment's conflicts.
If Not controller.IsConflictResolved() Then
Return
' Required to check the appointment for conflicts.
If Not controller.IsConflictResolved() Then
Return
See Also
AppointmentFormControllerBase Class