AppointmentItemCollection.IsNew(AppointmentItem) Method

Determines whether the given appointment is new and the current AppointmentItemCollection does not contain it yet.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public bool IsNew(
    AppointmentItem item
)
Public Function IsNew(
    item As AppointmentItem
) As Boolean

Parameters

Name Type Description
item AppointmentItem

An AppointmentItem instance that is the target appointment.

Returns

Type Description
Boolean

true, if the appointment is new; otherwise, false.

Remarks

Call the IsNew method to check whether the target appointment is added to the AppointmentItemCollection. The IsNew method returns true for both recurrent and non-recurrent appointments .

See Also