# GanttToolbarBuilder

## Methods

### Name(System.String)

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.

#### Parameters

##### value - `System.String`

The value for Name

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.

### Template(System.String)

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

#### Parameters

##### value - `System.String`

The value for Template

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.

### TemplateId(System.String)

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

#### Parameters

##### templateId - `System.String`

The ID of the template element for Template

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.

### TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for Template

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.

### TemplateHandler(System.String)

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

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for Template

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.

### Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the template.

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.

### Text(System.String)

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

#### Parameters

##### value - `System.String`

The value for Text

#### RETURNS

Returns the current [GanttToolbarBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gantttoolbarbuilder) instance.
