ActionSheetItemBuilder
Methods
Click(System.String)
Specifies the click event handler of the item.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
RETURNS
Returns the current ActionSheetItemBuilder instance.
Click(System.Func)
Specifies the click event handler of the item.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current ActionSheetItemBuilder instance.
Description(System.String)
Specifies the description of the item.
Parameters
value - System.String
The value for Description
RETURNS
Returns the current ActionSheetItemBuilder instance.
Disabled(System.Boolean)
If set to true, the item will be disabled.
Parameters
value - System.Boolean
The value for Disabled
RETURNS
Returns the current ActionSheetItemBuilder instance.
Icon(System.String)
Specifies the icon's name of the item.
Parameters
value - System.String
The value for Icon
RETURNS
Returns the current ActionSheetItemBuilder instance.
IconClass(System.String)
Specifies the icon's class of the item.
Parameters
value - System.String
The value for IconClass
RETURNS
Returns the current ActionSheetItemBuilder instance.
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 for IconColor
RETURNS
Returns the current ActionSheetItemBuilder instance.
IconSize(System.Double)
The icon size in pixels.
Parameters
value - System.Double
The value for IconSize
RETURNS
Returns the current ActionSheetItemBuilder instance.
Text(System.String)
Specifies the main text of the item
Parameters
value - System.String
The value for Text
RETURNS
Returns the current ActionSheetItemBuilder instance.
Group(Kendo.Mvc.UI.ActionSheetItemGroup)
Specifies the group of the item. Items can be segregated in two groups - top
and bottom
.
Parameters
value - ActionSheetItemGroup
The value for Group
RETURNS
Returns the current ActionSheetItemBuilder instance.