TabStrip
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class TabStrip : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent, INavigationItemComponent<TabStripItem>, INavigationItemContainer<TabStripItem>
Inheritance: objectWidgetBaseTabStrip
Implements:
Inherited Members
Constructors
public TabStrip(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization)
Properties
public PopupAnimation Animation { get; }
public INavigationItemAuthorization Authorization { get; }
Implements:
Specifies whether each tab can be closed via a close button. When enabled, each tab includes a close icon that triggers tab removal on click. This applies to all tabs in the TabStrip. In case you want to have specific tabs with a different closable behavior, you can set the closable option in the specific tab item options.
public bool? Closable { get; set; }
public bool Collapsible { get; set; }
public bool HighlightPath { get; set; }
Specifies the position of the icon in the Menu items using the text content as a reference.
public IconPosition? IconPosition { get; set; }
public Action<TabStripItem> ItemAction { get; set; }
Implements:
Child items collection.
public IList<TabStripItem> Items { get; }
Implements:
public bool Navigatable { get; set; }
public TabStripScrollableSettings Scrollable { get; }
public SecurityTrimming SecurityTrimming { get; set; }
Implements:
public int SelectedIndex { get; set; }
Specifies the size of the component tabs. Default is Medium.
public ComponentSize? Size { get; set; }
If enabled, users will be able to sort the tabs by dragging them to the desired position.
public bool? Sortable { get; set; }
Specifies the alignment of the component tabs. Default is Start. Not applicable with Scrollable TabStrip.
public TabStripTabAlignment? TabAlignment { get; set; }
public TabStripTabPosition TabPosition { get; set; }
public IUrlGenerator UrlGenerator { get; }
Implements:
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: