Defines the fluent API for configuring FloatingActionButtonItem
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FloatingActionButtonItemBuilder
Inheritance: objectFloatingActionButtonItemBuilder
Inherited Members
Constructors
FloatingActionButtonItemBuilder method.
public FloatingActionButtonItemBuilder(FloatingActionButtonItem container)
Properties
Gets the settings being configured.
protected FloatingActionButtonItem Container { get; }
Methods
Specifies the click event handler of the speed-dial item.
public FloatingActionButtonItemBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the click event handler of the speed-dial item.
public FloatingActionButtonItemBuilder Click(string handler)
The name of the JavaScript function that will be evaluated.
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies a set of CSS classes for the speed-dial item.
public FloatingActionButtonItemBuilder CssClass(string value)
The value for CssClass
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies whether the Item is enabled or not. By default all items are enabled.
public FloatingActionButtonItemBuilder Enabled(bool value)
The value for Enabled
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the name for an existing icon in a Kendo UI theme that is rendered in the speed-dial item.See the Web Font Icons help article for more details on Kendo UI icons.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.
public FloatingActionButtonItemBuilder Icon(Action<FloatingActionButtonItemIconSettingsBuilder> configurator)
The FloatingActionButtonItemIconSettingsBuilder for the icon setting.
Returns:FloatingActionButtonItemBuilder
Returns the current instance of FloatingActionButtonItemBuilder .
Specifies the name for an existing icon in a Kendo UI theme that is rendered in the speed-dial item.See the Web Font Icons help article for more details on Kendo UI icons.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.
public FloatingActionButtonItemBuilder Icon(string icon)
The icon.
Returns:FloatingActionButtonItemBuilder
Returns the current instance of FloatingActionButtonItemBuilder .
Specifies the label for the speed-dial item.
public FloatingActionButtonItemBuilder Label(string value)
The value for Label
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the template used to render the contents of the speed-dial item.The fields which can be used inside the template are: text String - the label of the item (if configured). or icon String - the icon specified for this step (if configured)..
public FloatingActionButtonItemBuilder Template(string value)
The value for Template
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the template used to render the contents of the speed-dial item.The fields which can be used inside the template are: text String - the label of the item (if configured). or icon String - the icon specified for this step (if configured)..
public FloatingActionButtonItemBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the template used to render the contents of the speed-dial item.The fields which can be used inside the template are: text String - the label of the item (if configured). or icon String - the icon specified for this step (if configured)..
public FloatingActionButtonItemBuilder TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the template used to render the contents of the speed-dial item.The fields which can be used inside the template are: text String - the label of the item (if configured). or icon String - the icon specified for this step (if configured)..
public FloatingActionButtonItemBuilder TemplateId(string templateId)
The ID of the template element for Template
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the template used to render the contents of the speed-dial item.The fields which can be used inside the template are: text String - the label of the item (if configured). or icon String - the icon specified for this step (if configured)..
public FloatingActionButtonItemBuilder TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.
Specifies the label for the speed-dial item that will be read by assistive technologies.
public FloatingActionButtonItemBuilder Title(string value)
The value for Title
Returns:FloatingActionButtonItemBuilder
Returns the current FloatingActionButtonItemBuilder instance.