AppointmentDependencyDataStorage.Filter Property

Gets or set an expression used as a criteria to filter dependencies in the storage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

[DefaultValue("")]
[DXCategory("Data")]
public string Filter { get; set; }
<DefaultValue("")>
<DXCategory("Data")>
Public Property Filter As String

Property Value

Type Default Description
String

String.Empty

A String value containing a logical expression.

Remarks

Dependencies are filtered before they are visible in the Scheduler view. If you apply a filter, the storage still contains all dependencies, but only those satisfying the filter criteria are displayed in the Gantt View.

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

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

TIP

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

Implements

DevExpress.XtraScheduler.IPersistentObjectStorage<DevExpress.XtraScheduler.AppointmentDependency>.Filter
See Also