AppointmentItemConflictEventArgs.RemoveConflictsWithDifferentResource(IList<AppointmentItem>, Object) Method
In This Article
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<Appointment |
A IList |
resource |
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