Back to Devexpress

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

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitemconflicteventargs-dot-removeconflictswithdifferentresource-x28-ilist-appointmentitem-object-x29.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public void RemoveConflictsWithDifferentResource(
    IList<AppointmentItem> conflicts,
    object resourceId
)
vb
Public Sub RemoveConflictsWithDifferentResource(
    conflicts As IList(Of AppointmentItem),
    resourceId As Object
)

Parameters

NameTypeDescription
conflictsIList<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

AppointmentItemConflictEventArgs Class

AppointmentItemConflictEventArgs Members

DevExpress.Xpf.Scheduling Namespace