Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / AppointmentsCoverPane Class / IsPaneAppointment Method
The C1.C1Schedule.Appointment object to check.
The AppointmentFilterEnum value which should be used for filtering.

In This Topic
    IsPaneAppointment Method (AppointmentsCoverPane)
    In This Topic
    Checks whether the specified appointment should be shown in the current pane. The default implementation filters appointments according to the AppointmentsCoverPane.AppointmentFilter property value.
    Syntax
    'Declaration
     
    
    Public Overridable Function IsPaneAppointment( _
       ByVal appointment As Appointment, _
       ByVal filter As AppointmentFilterEnum _
    ) As Boolean
    public virtual bool IsPaneAppointment( 
       Appointment appointment,
       AppointmentFilterEnum filter
    )

    Parameters

    appointment
    The C1.C1Schedule.Appointment object to check.
    filter
    The AppointmentFilterEnum value which should be used for filtering.

    Return Value

    True if the C1.C1Schedule.Appointment object should be shown in the current pane; otherwise, False.
    Remarks
    Override this method in the derived class to filter appointments by additional conditions.
    See Also