Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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