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.FilterTimeRegion Event

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

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public event FilterTimeRegionEventArgsHandler FilterTimeRegion
Public Event FilterTimeRegion As FilterTimeRegionEventArgsHandler

Event Data

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

Property Description
Scheduler The scheduler that raised the event.
TimeRegion The time region for which the event is raised.
View The scheduler's view that raised the event.
Visible Specifies whether to display the time region for which the event is raised.

Remarks

The TimeRegion property returns the time region for which the event is raised. Set the Visible property to false to hide this time region.

If the time region is hidden by the SchedulerControl.TimeRegionFilterCriteria or SchedulerControl.TimeRegionFilterString property, the event's Visible property returns false. Set the Visible property to true to override the filter criteria/expression.

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

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

See Also