ToolBar
Kendo UI ToolBar component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ToolBar : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseToolBar
Implements:
Inherited Members
Constructors
Initializes a new instance of the ToolBar class.
Properties
A JavaScript array that contains the ToolBar's commands configuration.
public List<ToolBarItem> Items { get; set; }
If set to true this configuration option would enable Tab-based navigation among ToolBar items.
public bool? NavigateOnTab { get; set; }
Configures the overflow behavior of the ToolBar.
public ToolBarOverflowSettings Overflow { get; }
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.
public bool? Resizable { get; set; }
Specifies the size of the component. Default is Medium.
public ComponentSize? Size { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: