Skip to main content

AppointmentItemConflictEventArgs.RemoveConflictsWithDifferentResource(IList<AppointmentItem>, Object) Method

Removes all the conflicting appointments from the specified collection whose SchedulerItemBase.ResourceId doesn’t match the specified Id.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public void RemoveConflictsWithDifferentResource(
    IList<AppointmentItem> conflicts,
    object resourceId
)

Parameters

Name Type Description
conflicts IList<AppointmentItem>

A IList<T> object that contains all conflicting appointments.

resourceId Object

A Object that specifies the resource Id which appointments should be left in the collection.

Remarks

Call the RemoveConflictsWithDifferentResource method to remove all appointments which are assigned to resources with Ids other than the specified resourceId from the collection.

See Also