New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Provides a fluent interface for configuring custom toolbar settings for the Scheduler component.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SchedulerCustomToolbarBuilder

Inheritance: objectSchedulerCustomToolbarBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SchedulerCustomToolbarBuilder(SchedulerCustomToolbarSettings container)
Parameters:containerSchedulerCustomToolbarSettings

Properties

C#
protected SchedulerCustomToolbarSettings Container { get; }

Methods

Configures the desktop toolbar items.

C#
public SchedulerCustomToolbarBuilder Desktop(Action<SchedulerToolbarCustomCommandFactory> addToolbarAction)
Parameters:addToolbarActionAction<SchedulerToolbarCustomCommandFactory>

The action to configure the desktop toolbar items.

Returns:

SchedulerCustomToolbarBuilder

The builder instance for method chaining.

Configures the items for the custom toolbar.

C#
public void Items(Action<SchedulerToolbarCustomCommandFactory> addToolbarAction)
Parameters:addToolbarActionAction<SchedulerToolbarCustomCommandFactory>

The action to configure the toolbar items.

Configures the mobile toolbar settings.

C#
public SchedulerCustomToolbarBuilder Mobile(Action<SchedulerCustomToolbarMobileBuilder> configurator)
Parameters:configuratorAction<SchedulerCustomToolbarMobileBuilder>

The action to configure the mobile toolbar settings.

Returns:

SchedulerCustomToolbarBuilder

The builder instance for method chaining.