All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerControl.FilterAppointment Event

Raised each time an appointment is about to be displayed by the scheduler's view and allows you to hide this appointment.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public event FilterAppointmentEventHandler FilterAppointment
Public Event FilterAppointment As FilterAppointmentEventHandler

Event Data

The FilterAppointment event's data class is FilterAppointmentEventArgs. The following properties provide information specific to this event:

Property Description
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.

Remarks

The Appointment property returns the appointment for which the event is raised. Set the Visible property to false to hide this appointment.

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.

For regular occurrences, the FilterAppointment event is raised only once. In this scenario, the Appointment property returns the pattern.

Refer to the Filter Appointments and Time Regions topic for more information.

See Also