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

ListBoxToolbarSettingsBuilder

Methods

Tools(System.Action)

An collection of tools displayed in the ListBox's Toolbar. Tools can be built-in ("moveUp", "moveDown", "remove", "transferAllFrom", "transferAllTo", "transferFrom", "transferTo").The "moveUp" tool moves up the item that is currently selected by the end user.The "moveDown" tool moves down the item that is currently selected by the end user.The "remove" tool removes the item(s) that are currently selected by the end user.The "transferAllFrom" tool moves all items from current ListBox widget to the target widget related with connectWith option.The "transferAllTo" tool moves all items from target widget related with connectWith option to the current ListBox widget.The "transferFrom" tool moves all selected items from current ListBox widget to the target widget related with connectWith option.The "transferTo" tool moves all selected items from target widget related with connectWith option to the current ListBox widget.

Parameters

configurator - System.Action<ListBoxToolFactory>

The configurator for the tools setting.

Example


            @(Html.Kendo().ListBox()
                .Name("listBox")
                .Toolbar(toolbar =>
                {
                    toolbar.Tools(tools => tools
                        .MoveUp()
                        .MoveDown()
                        .TransferTo()
                        .TransferFrom()
                        .TransferAllTo()
                        .TransferAllFrom()
                       .Remove()
                    );
                })
            )

Position(Kendo.Mvc.UI.ListBoxToolbarPosition)

Represents the listbox toolbar positions.

Parameters

value - ListBoxToolbarPosition

The value for Position

In this article
Not finding the help you need?