ToolBar
Class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ToolBar : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseToolBar
Implements:
Inherited Members
Constructors
C#
public ToolBar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Properties
A JavaScript array that contains the ToolBar's commands configuration.
C#
public List<ToolBarItem> Items { get; set; }
If set to true this configuration option would enable Tab-based navigation among ToolBar items.
C#
public bool? NavigateOnTab { get; set; }
Configures the overflow behavior of the ToolBar.
C#
public ToolBarOverflowSettings Overflow { get; set; }
If resizable is set to true the widget will detect changes in the viewport width and hides the overflowing controls in the command overflow popup.
C#
public bool? Resizable { get; set; }
C#
public ComponentSize? Size { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: