MVCxSchedulerMonthView.SetToolbarViewVisibleIntervalTemplateContent(Action<ToolbarViewVisibleIntervalTemplateContainer>) Method
Allows you to provide a template for rendering the View Visible Interval control area in the toolbar.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public void SetToolbarViewVisibleIntervalTemplateContent(
Action<ToolbarViewVisibleIntervalTemplateContainer> contentMethod
)
Parameters
Name | Type | Description |
---|---|---|
contentMethod | Action<DevExpress.Web.ASPxScheduler.ToolbarViewVisibleIntervalTemplateContainer> | A string value specifying the template content. |
Remarks
@Html.DevExpress().Scheduler(
settings => {
settings.Name = "scheduler";
...
settings.Views.MonthView.SetToolbarViewVisibleIntervalTemplateContent(c =>
{
ViewContext.Writer.Write("<span style=\"color:red\">TEST</span>");
});
...
}).Bind(Model.Appointments, Model.Resources).GetHtml()
Online Demo
See Also