Skip to main content

TimeScale.IsDateVisible(DateTime) Method

Returns whether the specific date belongs to this Time Scale. This method can return false for Time Scales that miss certain time invervals, for instance, Work Day and Work Hour scales. You can override this method for custom scales to control which DateTime intervals should be visible. See the Time Scales article for an example.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public virtual bool IsDateVisible(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A date to checl.

Returns

Type Description
Boolean

true, if this Time Scale can display the target date; otherwise, false.

See Also