Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Scheduling

#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