Back to Devexpress

PersistentObjectStorage<T>.Filter Property

corelibraries-devexpress-dot-xtrascheduler-dot-persistentobjectstorage-1-5a3e4b81.md

latest2.3 KB
Original Source

PersistentObjectStorage<T>.Filter Property

Gets or sets a criteria string used to filter storage objects.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[DefaultValue("")]
public virtual string Filter { get; set; }
vb
<DefaultValue("")>
Public Overridable Property Filter As String

Property Value

TypeDefaultDescription
StringString.Empty

A string, that is a logical expression.

|

Remarks

The expression syntax is described in the Criteria Language Syntax topic.

The Filter property returns the string equivalent of the CriteriaOperator specified by the AppointmentStorageBase.FilterCriteria property. When the Filter property is set, the AppointmentStorageBase.FilterCriteria obtains its value by using the CriteriaOperator.Parse method.

Tip

Use the SchedulerStorageBase.FilterAppointment and SchedulerStorageBase.FilterResource events to hide specific objects.

See Also

PersistentObjectStorage<T> Class

PersistentObjectStorage<T> Members

DevExpress.XtraScheduler Namespace