Skip to main content

DxSchedulerMonthView.HorizontalResourceHeaderCellTemplate Property

Specifies the template for horizontal resource header cells in the Scheduler.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public RenderFragment<SchedulerResourceHeaderCellInfo> HorizontalResourceHeaderCellTemplate { get; set; }

Property Value

Type Description

The resource header cell template.


This template accepts a SchedulerResourceHeaderCellInfo object as the context parameter. You can use the parameter’s Intervals property to get intervals to which the cell belongs. The parameter’s Resource property specifies the resource associated with the cell or contains an empty resource item if no resource is assigned.

The following example marks horizontal resource headers with bold:

<DxScheduler StartDate="@DateTime.Today"

@code {
    DxSchedulerDataStorage DataStorage = new DxSchedulerDataStorage() {
        AppointmentsSource = ResourceAppointmentCollection.GetAppointments(),
        AppointmentMappings = new DxSchedulerAppointmentMappings() {
            Type = "AppointmentType",
            Start = "StartDate",
            End = "EndDate",
            Subject = "Caption",
            AllDay = "AllDay",
            Location = "Location",
            Description = "Description",
            LabelId = "Label",
            StatusId = "Status",
            RecurrenceInfo = "Recurrence",
            ResourceId = "ResourceId"

Scheduler - Horizontal Resource Header Template

To specify the template for vertical resource header cells, use the VerticalResourceHeaderCellTemplate property.

See Also