TimeScaleWorkHour.IsDateVisible(DateTime) Method
Checks whether the specific DateTime value belongs to non-working hour 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.v24.2.dll
Declaration
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 holiday, a weekend, or a non-working hour of a work week day. |
See Also