Class TelerikScheduler
The class for the Telerik Scheduler component.
Inheritance
系统。Object
Telerik.Blazor.Components.Common.BaseComponent
TelerikScheduler
Assembly : Telerik.Blazor.dll
Syntax
public class TelerikScheduler : BaseComponent, IDisposable, ISchedulerViewContainer, ISchedulerResourceContainer, ISchedulerSettingsContainer, IPopupEditSettingsContainer, ISchedulerState
Type Parameters
Constructors
Declaration
public TelerikScheduler()
Properties
Defines the template to be used when rendering all-day appointments. Used in Day, Week and Multiday views.
Declaration
public RenderFragment AllDayItemTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment <系统。Object >
Determines whether or now creating new appointments is allowed. True by default.
Declaration
public bool AllowCreate { get; set; }
Property Value
Determines whether or now deleting appointments is allowed. True by default.
Declaration
public bool AllowDelete { get; set; }
Property Value
Determines whether or now updating appointments is allowed. True by default.
Declaration
public bool AllowUpdate { get; set; }
Property Value
Defines whether deleting an appointment should be confirmed.
Declaration
public bool ConfirmDelete { get; set; }
Property Value
Defines the data source of the Grid.
Declaration
public IEnumerable Data { get; set; }
Property Value
系统。Collections.Generic.IEnumerable
The currently selected date of the Scheduler. Determinse the period which is displayed.
Declaration
public DateTime Date { get; set; }
Property Value
The handler that will be called when the currently selected date is changed.
Declaration
public EventCallback DateChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback <系统。DateTime >
Defines the DescriptionField of the Data. Default value: "Description".
Declaration
public string DescriptionField { get; set; }
Property Value
Declaration
public DialogFactory DialogFactory { get; set; }
Property Value
Defines whether the loading container should be shown when there are long-running operations.
Declaration
public bool EnableLoaderContainer { get; set; }
Property Value
Defines the EndField of the Data. Default value: "End".
Declaration
Property Value
Declaration
public int FocusedIndex { get; set; }
Property Value
Defines the height of the Scheduler.
Declaration
public string Height { get; set; }
Property Value
Specifies the id of the Component.
Declaration
public string Id { get; set; }
Property Value
Defines the IdField of the Data. Default value: "Id".
Declaration
public string IdField { get; set; }
Property Value
Defines the IsAllDayField of the Data. Default value: "IsAllDay".
Declaration
public string IsAllDayField { get; set; }
Property Value
Declaration
public bool IsGrouped { get; }
Property Value
Defines the template to be used when rendering appointments. Used in all views, and the Day Section of the Day, Week and Multiday views.
Declaration
public RenderFragment ItemTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment <系统。Object >
Fires when an action is cancelled.
Declaration
public EventCallback OnCancel { get; set; }
Property Value
Called each time a time slot is rendered. Use this to add custom classes to the time slot's element.
Declaration
public Action OnCellRender { get; set; }
Property Value
火灾时应用ointment is created.
Declaration
public EventCallback OnCreate { get; set; }
Property Value
火灾时应用ointment is deleted.
Declaration
public EventCallback OnDelete { get; set; }
Property Value
Fires on double click on a slot or on an appointment. If cancelled, edit dialog will not be shown.
Declaration
public EventCallback OnEdit { get; set; }
Property Value
火灾时应用ointment is clicked.
Declaration
public EventCallback OnItemClick { get; set; }
Property Value
火灾时应用ointment is double-clicked.
Declaration
public EventCallback OnItemDoubleClick { get; set; }
Property Value
Called each time an appointment is rendered. Use this to add custom classes to the appointment element based on the data item.
Declaration
public Action OnItemRender { get; set; }
Property Value
Fires when a new instance of the model is about to be created. Useful when no parameterless constructor is implemented. If the delegate is not defined Activator.CreateInstance method is used to create a new model instance.
Declaration
public Func OnModelInit { get; set; }
Property Value
火灾时应用ointment is updated.
Declaration
public EventCallback OnUpdate { get; set; }
Property Value
Defines the RecurrenceExceptionsField of the Data. Default value: "RecurrenceExceptions".
Declaration
public string RecurrenceExceptionsField { get; set; }
Property Value
Defines the RecurrenceIdField of the Data, which is the Id of the recurrence parent. Default value: "RecurrenceId".
Declaration
public string RecurrenceIdField { get; set; }
Property Value
Defines the RecurrenceRuleField of the Data. Default value: "RecurrenceRule".
Declaration
public string RecurrenceRuleField { get; set; }
Property Value
Declaration
public Dictionary Resources { get; set; }
Property Value
系统。Collections.Generic.Dictionary <系统。String ,Telerik.Blazor.Components.Scheduler.Models.Resource >
Defines the container for the Scheduler resources.
Declaration
public RenderFragment SchedulerResources { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
Defines the container for the Scheduler settings.
Declaration
public RenderFragment SchedulerSettings { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
Defines the container for the Scheduler views.
Declaration
public RenderFragment SchedulerViews { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
Declaration
public ISchedulerView SelectedView { get; }
Property Value
Telerik.Blazor.Components.Scheduler.ISchedulerView
Defines the StartField of the Data. Default value: "Start".
Declaration
public string StartField { get; set; }
Property Value
Defines the TitleField of the Data. Default value: "Title".
Declaration
public string TitleField { get; set; }
Property Value
The currently selected view of the Scheduler. Determines the layout of the calendar view.
Declaration
public SchedulerView View { get; set; }
Property Value
The handler that will be called when the currently selected view is changed.
Declaration
public EventCallback ViewChanged { get; set; }
Property Value
Defines the width of the Scheduler.
Declaration
public string Width { get; set; }
Property Value
Methods
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
Declaration
public override void Dispose()
Overrides
Telerik.Blazor.Components.Common.BaseComponent.Dispose()
Declaration
public TimeSlot GetTimeSlotFromDropIndex(string index)
Parameters
Returns
Declaration
protected virtual Task HideLoaderAsync()
Returns
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Returns
Overrides
Telerik.Blazor.Components.Common.BaseComponent.OnAfterRenderAsync(System.Boolean)
Processes the available data with applied all data operations. Useful in scenarios where the data might change from an outside source. If the component contains OnRead, the method triggers the event so that fresh data can be supplied.
Declaration
public virtual void Rebind()
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView parameters
Returns
Declaration
protected virtual Task ShowLoaderAsync()
Returns