All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
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.AppointmentFilterString Property

Gets or sets the scheduler’s filter expression for appointments. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public string AppointmentFilterString { get; set; }

Property Value

Type Description
String

A string value that specifies the filter criteria.

Remarks

Use the FilterAppointment event to override the filter expression. The event’s Visible property returns false for appointments filtered by the AppointmentFilterCriteria or AppointmentFilterString property.

The example below illustrates how to use the AppointmentFilterString property to display appointments with specific labels.

<dxsch:SchedulerControl 
       AppointmentFilterString="[LabelId] In (1, 2)">
</dxsch:SchedulerControl>

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

See Also