Raised each time an appointment is about to be displayed by the scheduler’s view and allows you to hide this appointment.
public event FilterAppointmentEventHandler FilterAppointment
Public Event FilterAppointment As FilterAppointmentEventHandler
The FilterAppointment event's data class is FilterAppointmentEventArgs. The following properties provide information specific to this event:
|Appointment||The appointment for which the event is raised.|
|Scheduler||The scheduler that raised the event.|
|View||The scheduler’s view that raised the event.|
|Visible||Specifies whether to display the appointment for which the event is raised.|
If the appointment is hidden by the SchedulerControl.AppointmentFilterCriteria or SchedulerControl.AppointmentFilterString property, the event’s Visible property returns false. Set the Visible property to true to override the filter criteria/expression.
Refer to the Filter Appointments and Time Regions topic for more information.