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

Kendo UI GanttToolbar class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TTaskModel

TDependenciesModel

Syntax:

C#
public class GanttToolbar<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency

Inheritance: objectGanttToolbar<TTaskModel, TDependenciesModel>

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

Constructors

C#
public GanttToolbar()

Properties

Gantt

Gantt<TTaskModel, TDependenciesModel>

Gantt member.

C#
public Gantt<TTaskModel, TDependenciesModel> Gantt { get; set; }

The name of the toolbar command. Either a built-in ("append" and "pdf") or custom. The name is reflected in one of the CSS classes, which is applied to the button - k-gantt-name. This class can be used to obtain reference to the button after Gantt initialization and attach click handlers.

C#
public string Name { get; set; }

The template which renders the command. By default renders a button.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

The text displayed by the command button. If not set the name` option would be used as the button text instead.

C#
public string Text { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

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

Dictionary<string, object>