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

ActionSheetItemBuilder

Methods

Click(System.String)

Specifies the click event handler of the item.

Parameters

value - System.String

The value that configures the click.

Example


                @(Html.Kendo().ActionSheet()
                    .Name("actionsheet")
                    .Items(items =>
                    {
                        items.Add().Text("Edit Item").IconClass("k-i-pencil").Click("onClick");
                    })

Description(System.String)

Specifies the description of the item.

Parameters

value - System.String

The value that configures the description.

Disabled(System.Boolean)

If set to true, the item will be disabled.

Parameters

value - System.Boolean

The value that configures the disabled.

Group(System.String)

Specifies the group of the item. Items can be segregated in two groups - top and bottom.

Parameters

value - System.String

The value that configures the group.

Icon(System.String)

Specifies the icon's name of the item.

Parameters

value - System.String

The value that configures the icon.

IconClass(System.String)

Specifies the icon's class of the item.

Parameters

value - System.String

The value that configures the iconclass.

IconColor(System.String)

The icon color. Available options are inherit, default, primary, secondary, tertiary, info, success, warning, error, dark, light, inverted or any hexadecimal value.

Parameters

value - System.String

The value that configures the iconcolor.

IconSize(System.Double)

The icon size in pixels.

Parameters

value - System.Double

The value that configures the iconsize.

Text(System.String)

Specifies the main text of the item

Parameters

value - System.String

The value that configures the text.

In this article
Not finding the help you need?