DayView.VisibleTime Property
Gets or sets the time interval visible in the working area of the Day View.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v20.2.dll
Declaration
public TimeOfDayInterval VisibleTime { get; set; }
Public Property VisibleTime As TimeOfDayInterval
Property Value
Type | Description |
---|---|
TimeOfDayInterval | A TimeOfDayInterval object which specifies the visible time interval. |
Available values:
Name | Description |
---|---|
Changing | Fires before the TimeOfDayInterval is changed. |
Changed | Fires when the TimeOfDayInterval is changed. |
Duration | Gets the duration of the time of day interval. |
End | Gets or sets the end time of the time of day interval. |
Start | Gets or sets the start time of the time of day interval. |
Empty | Returns an empty time of day interval. |
Day | Gets the time interval of a day. |
Assign(TimeOfDayInterval) | Copies all settings from the object passed as the parameter to the current object. |
ToString() | Returns the textual representation of the time-of-day interval. |
GetHashCode() | Gets the hash code (the number) that corresponds to the value of the current TimeOfDayInterval object. |
Equals(Object) | Determines whether the specified object is equal to the current TimeOfDayInterval instance. |
ToTimeInterval(DateTime) | Converts the TimeOfDayInterval value to the TimeInterval type starting from the specified date. |
ToTimeInterval() | Converts the TimeOfDayInterval value to the TimeInterval type. |
IntersectsWithExcludingBounds(TimeOfDayInterval) | Checks if the current time of day interval intersects with the specified time of day interval. The boundaries of the time intervals are excluded from the check. |
Intersect(TimeOfDayInterval, TimeOfDayInterval) | Returns a time-of-day interval which is the intersection of the two specified time-of-day intervals. |
Union(TimeOfDayInterval, TimeOfDayInterval) | Returns a time of day interval which is composed of two specified time of day intervals. |
Contains(TimeSpan) | Determines whether the time of day interval contains the specified time. |
Clone() | Creates a copy of the current TimeOfDayInterval object. |
TimeOfDayInterval(TimeSpan, TimeSpan) | Initializes a new instance of the TimeOfDayInterval class with the specified start time and end time. |
TimeOfDayInterval() | Initializes a new instance of the TimeOfDayInterval class with the default settings. |
Remarks
Use this property to limit the appointments shown by the time span.
NOTE
If the DayView.ShowWorkTimeOnly option is set to true, and the DayView.WorkTime and DayView.VisibleTime properties are set to different intervals, the Scheduler view displays an interval that is an intersection of the specified intervals.