Back to Devexpress

DxSchedulerTimeSpanRange Class

blazor-devexpress-dot-blazor-43ce52e2.md

latest2.8 KB
Original Source

DxSchedulerTimeSpanRange Class

A time interval within a day.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxSchedulerTimeSpanRange :
    IFormattable,
    IEquatable<DxSchedulerTimeSpanRange>

The following members return DxSchedulerTimeSpanRange objects:

Remarks

The following example uses this class instance to specify the visible time in the View.

razor
<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerDayView VisibleTime="@VisibleTime" DayCount="3"></DxSchedulerDayView>
</DxScheduler>

@code {
    // ...
    DxSchedulerTimeSpanRange VisibleTime = new DxSchedulerTimeSpanRange(TimeSpan.FromHours(9), TimeSpan.FromHours(18));
}

Implements

IFormattable

IEquatable<DxSchedulerTimeSpanRange>

Inheritance

Object DxSchedulerTimeSpanRange

See Also

DxSchedulerTimeSpanRange Members

DevExpress.Blazor Namespace