Back to Devexpress

SchedulerControl.AppointmentFilterString Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-2df298a3.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public string AppointmentFilterString { get; set; }
vb
Public Property AppointmentFilterString As String

Property Value

TypeDescription
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.

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

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

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace