New to Telerik UI for BlazorStart a free 30-day trial

Definition

Namespace:Telerik.Blazor.Components.Scheduler.Rendering

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

Syntax:

C#
public abstract class ContentTableBase<TItem> : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentContentTableBase<TItem>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeVoidAsyncWithoutAwait(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)...

Constructors

C#
protected ContentTableBase()

Fields

C#
protected Appointment _activeAppointment

_activeAppointmentElement

AppointmentElement

C#
protected AppointmentElement _activeAppointmentElement
C#
protected Appointment _activeAppointmentHint
C#
protected int _activeAppointmentOriginalResourceIndex
C#
protected int _activeAppointmentResourceIndex

Methods

C#
protected void AppointmentElementsInvokeByGroup(List<string> groupingProperties, IEnumerable<Appointment> apps, Action<IEnumerable<Appointment>> action)
Parameters:groupingPropertiesList<string>appsIEnumerable<Appointment>actionAction<IEnumerable<Appointment>>
C#
protected abstract IAppointmentRenderer CreateAppointmentRenderer(ISchedulerViewModel viewModel)
Parameters:viewModelISchedulerViewModelReturns:

IAppointmentRenderer

C#
public override void Dispose()

Overrides: BaseComponent.Dispose()

C#
protected virtual Dictionary<string, object> GetWidgetOptions()
Returns:

Dictionary<string, object>

C#
protected virtual bool HasActiveAppointmentChanged()
Returns:

bool

C#
protected void MoveActiveAppointment()
C#
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters:firstRenderboolReturns:

Task

Overrides: BaseComponent.OnAfterRenderAsync(bool)

C#
protected void OnAllDaySlotDoubleClick(DateTime date, ResourceHeader resource)
Parameters:dateDateTimeresourceResourceHeader
C#
protected void OnDaySlotDoubleClick(DaySlot slot, DateTime date, ResourceHeader resource)
Parameters:slotDaySlotdateDateTimeresourceResourceHeader
C#
protected override Task OnParametersSetAsync()
Returns:

Task

Overrides: ComponentBase.OnParametersSetAsync()

C#
public abstract void RenderAppointmentElements()
C#
protected void SetActiveAppointment(AppointmentElement element)
Parameters:elementAppointmentElement
C#
protected void SetActiveAppointmentResources(int resourceIndex, int originalResourceIndex)
Parameters:resourceIndexintoriginalResourceIndexint
C#
protected virtual void SetSlotMetrics(SlotMetrics metrics)
Parameters:metricsSlotMetrics

Properties

C#
public double AllDayAppointmentHeight { get; }
C#
public double AllDayAppointmentOuterHeight { get; }
C#
public int AllDayMaxSpan { get; set; }

AppointmentElements

List<AppointmentElement>

C#
public List<AppointmentElement> AppointmentElements { get; set; }

Appointments

List<Appointment>

C#
[Parameter]
public List<Appointment> Appointments { get; set; }

ComponentLoaderContainer

ComponentLoaderContainer

C#
protected ComponentLoaderContainer ComponentLoaderContainer { get; set; }
C#
[Parameter]
public Func<object, TItem> DataItemCloneFunction { get; set; }
C#
protected abstract List<DateTime> Dates { get; }
C#
[Parameter]
public bool EnableLoaderContainer { get; set; }
C#
protected abstract string JsInitFunctionName { get; }

OnAppointmentCommand

Func<SchedulerAppointmentCommandEventArgs, Task>

C#
[Parameter]
public Func<SchedulerAppointmentCommandEventArgs, Task> OnAppointmentCommand { get; set; }

OnAppointmentCreate

EventCallback<SchedulerTimeSlotEventArgs>

C#
[Parameter]
public EventCallback<SchedulerTimeSlotEventArgs> OnAppointmentCreate { get; set; }

OnAppointmentMove

EventCallback<SchedulerAppointmentEventArgs>

C#
[Parameter]
public EventCallback<SchedulerAppointmentEventArgs> OnAppointmentMove { get; set; }
C#
[Parameter]
public Func<DateTime, Task> OnDateHeaderClick { get; set; }
C#
[Parameter]
public Func<Task> OnFirstRender { get; set; }

ResourceHeaderCollection

ResourceHeaderCollection

C#
public ResourceHeaderCollection ResourceHeaderCollection { get; set; }
C#
public virtual double SlotWidth { get; }

ViewModel

ISchedulerViewModel

C#
[Parameter]
public ISchedulerViewModel ViewModel { get; set; }