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

Defines the fluent API for configuring ActionSheetActionButton

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ActionSheetActionButtonBuilder

Inheritance: objectActionSheetActionButtonBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ActionSheetActionButtonBuilder class.

C#
public ActionSheetActionButtonBuilder(ActionSheetActionButton container)
Parameters:containerActionSheetActionButton

The ActionSheetActionButton settings.

Properties

Gets the ActionSheetActionButton settings being configured.

C#
protected ActionSheetActionButton Container { get; }

Methods

Specifies the click event handler of the action button.

C#
public ActionSheetActionButtonBuilder Click(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Specifies the click event handler of the action button.

C#
public ActionSheetActionButtonBuilder Click(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

If set to true, the action button will be disabled.

C#
public ActionSheetActionButtonBuilder Disabled(bool value)
Parameters:valuebool

The value for Disabled

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Sets a value controlling how the color is applied.

C#
public ActionSheetActionButtonBuilder FillMode(ButtonFillMode value)
Parameters:valueButtonFillMode

The value for FillMode

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Specifies the icon's name of the action button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public ActionSheetActionButtonBuilder Icon(Action<ActionSheetActionButtonIconSettingsBuilder> configurator)
Parameters:configuratorAction<ActionSheetActionButtonIconSettingsBuilder>

The ActionSheetActionButtonIconSettingsBuilder for the icon setting.

Returns:

ActionSheetActionButtonBuilder

Returns the current instance of ActionSheetActionButtonBuilder .

Specifies the icon's name of the action button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public ActionSheetActionButtonBuilder Icon(string icon)
Parameters:iconstring

The icon.

Returns:

ActionSheetActionButtonBuilder

Returns the current instance of ActionSheetActionButtonBuilder .

Specifies the icon's class of the action button.

C#
public ActionSheetActionButtonBuilder IconClass(string value)
Parameters:valuestring

The value for IconClass

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Sets a value controlling the border radius.

C#
public ActionSheetActionButtonBuilder Rounded(Rounded value)
Parameters:valueRounded

The value for Rounded

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Sets the size of the component.

C#
public ActionSheetActionButtonBuilder Size(ComponentSize value)
Parameters:valueComponentSize

The value for Size

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Specifies the text of the action button.

C#
public ActionSheetActionButtonBuilder Text(string value)
Parameters:valuestring

The value for Text

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.

Sets the color of the component according to the applied theme.

C#
public ActionSheetActionButtonBuilder ThemeColor(ThemeColor value)
Parameters:valueThemeColor

The value for ThemeColor

Returns:

ActionSheetActionButtonBuilder

Returns the current ActionSheetActionButtonBuilder instance.