AppointmentDataStorage.Filter Property
Gets or set an expression used as a criteria to filter appointments in the storage.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string containing a logical expression. |
Remarks
Appointments are filtered before they are visible in the Scheduler view. If you apply a filter, all appointments remain in storage but the View displays only appointments that meet the filter criteria.
The expression syntax is described in the Criteria Language Syntax topic.
The Filter property returns the string equivalent of the CriteriaOperator specified by the AppointmentDataStorage.FilterCriteria property. When the Filter property is set, the AppointmentDataStorage.FilterCriteria obtains its value by using the CriteriaOperator.Parse method.
Tip
Use the SchedulerDataStorage.FilterAppointment and SchedulerDataStorage.FilterResource events to hide specific objects.