ComponentOne Scheduler for WPF and Silverlight
IsPaneAppointment Method (AppointmentsCoverPane)

C1.WPF.Schedule Namespace > AppointmentsCoverPane Class : IsPaneAppointment Method
The C1.C1Schedule.Appointment object to check.
The AppointmentFilterEnum value which should be used for filtering.
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 System.Boolean
public virtual System.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

Reference

AppointmentsCoverPane Class
AppointmentsCoverPane Members