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

TaskBoardColumnSettingsSettingsButtonBuilder

Methods

Name(System.String)

The name of the button.

Parameters

value - System.String

The value that configures the name.

Example


            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().Name("addCard")))
            )

Text(System.String)

The text of the button.

Parameters

value - System.String

The value that configures the text.

Example


            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().Text("Add Card")))
            )

Icon(System.String)

The icon of the button.

Parameters

value - System.String

The value that configures the icon.

Example


            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().Icon("gear")))
            )

SpriteCssClass(System.String)

The class name of the icon element.

Parameters

value - System.String

The value that configures the spritecssclass.

Example


            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().SpriteCssClass("custom-class")))
            )

Command(System.String)

The command of the button.

Parameters

value - System.String

The value that configures the command.

Example


            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().Command("MyCustomCommand")))
            )

Options(System.String)

The command options of the button.

Parameters

value - System.String

The value that configures the options.

Example


            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().Options("myvalue")))
            )

In this article
Not finding the help you need?