Skip to main content
All docs
V25.1
  • SchedulerControl.CustomResourceHeaderTemplateValue Event

    Allows you to pass values to elements bound to custom data fields.

    Namespace: DevExpress.XtraScheduler

    Assembly: DevExpress.XtraScheduler.v25.1.dll

    NuGet Package: DevExpress.Win.Scheduler

    Declaration

    public event EventHandler<CustomResourceHeaderTemplateValueEventArgs> CustomResourceHeaderTemplateValue

    Event Data

    The CustomResourceHeaderTemplateValue event's data class is DevExpress.XtraScheduler.CustomResourceHeaderTemplateValueEventArgs.

    Remarks

    The sample markup below demonstrates an HTML element bound to the custom “UnboundField” property.

    <div class="description">${UnboundField}</div>
    

    The CustomResourceHeaderTemplateValue event is handled to set the value of this HTML element.

    void OnCustomResourceHeaderTemplateValue(object sender, CustomResourceHeaderTemplateValueEventArgs e) {
        if (e.FieldName == "UnboundField")
            e.FieldValue = "Unbound data assigned in code";
    }
    
    See Also