Skip to main content
A newer version of this page is available. .

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.v19.2.Core.dll

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