TabStripItemBuilder
Defines the fluent interface for configuring child tabstrip items.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TabStripItemBuilder : ContentNavigationItemBuilder<TabStripItem, TabStripItemBuilder>
Inheritance: objectNavigationItemBuilder<TabStripItem, TabStripItemBuilder>ContentNavigationItemBuilder<TabStripItem, TabStripItemBuilder>TabStripItemBuilder
Inherited Members
Constructors
Initializes a new instance of the TabStripItemBuilder class.
public TabStripItemBuilder(TabStripItem item, ViewContext viewContext)
The item.
viewContextViewContextThe context of the View.
Methods
Defines a collection of action buttons that are rendered in the tab. The actions buttons are rendered as part of the tab and can be used to provide additional functionality beyond the built-in close button.
public TabStripItemBuilder Actions(Action<TabStripItemActionFactory> configurator)
The configurator for the actions setting.
Returns:Specifies whether this specific tab can be closed via a close button. When set to true, the tab includes a close icon that triggers tab removal when clicked. This overrides the global closable setting for this specific tab.
Specifies whether this specific tab can be closed via a close button. When set to true, the tab includes a close icon that triggers tab removal when clicked. This overrides the global closable setting for this specific tab.
public TabStripItemBuilder Closable(bool value)
The value for Closable
Returns:Sets a JavaScript function which will return additional parameters to be sent to the server.
public TabStripItemBuilder Data(string handler)
JavaScript function name
Returns:Specifies the HTTP headers.
public TabStripItemBuilder Headers(IDictionary<string, string> headers)
Specifies the HTTP headers.
Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the tab element.See web icons help article for more details on Kendo UI icons.
If set, this value will be appended to the icon element's class attribute.
public TabStripItemBuilder IconClass(string value)
The value for IconClass
Returns:Sets the position of the icon relative to the tab text.
public TabStripItemBuilder IconPosition(IconPosition value)
The value that sets the icon position.
Returns:Specifies the HTTP verb of the request.
public TabStripItemBuilder Type(HttpVerbs verb)
The HTTP verb
Returns: