Back to Devexpress

TimeScale.IsDateVisible(DateTime) Method

corelibraries-devexpress-dot-xtrascheduler-dot-timescale-dot-isdatevisible-x28-system-dot-datetime-x29.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public virtual bool IsDateVisible(
    DateTime date
)
vb
Public Overridable Function IsDateVisible(
    date As Date
) As Boolean

Parameters

NameTypeDescription
dateDateTime

A date to checl.

|

Returns

TypeDescription
Boolean

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

|

See Also

TimeScale Class

TimeScale Members

DevExpress.XtraScheduler Namespace