A newer version of this page is available. Switch to the current version.

TimeScaleWorkDay.IsDateVisible(DateTime) Method

Checks whether the specific date belongs to non-working day that is not included in this time scale. 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.dll

Declaration

public override bool IsDateVisible(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A date to check.

Returns

Type Description
Boolean

true, if the target date belongs to this time scale; false if this date belongs to a weekend or a holiday.

See Also