AppBarItemBuilder
Defines the fluent API for configuring AppBarItem
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class AppBarItemBuilder
Inheritance: objectAppBarItemBuilder
Inherited Members
Constructors
AppBarItemBuilder method.
Properties
Gets the settings being configured.
protected AppBarItem Container { get; }
Methods
Defines a set CSS classes for the item.
public AppBarItemBuilder ClassName(string value)
The value for ClassName
Returns:Returns the current AppBarItemBuilder instance.
The template which renders as content for the appbar item. Valid only for the contentItem type
public AppBarItemBuilder Template(string value)
The value for Template
Returns:Returns the current AppBarItemBuilder instance.
The template which renders as content for the appbar item. Valid only for the contentItem type
public AppBarItemBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:Returns the current AppBarItemBuilder instance.
The template which renders as content for the appbar item. Valid only for the contentItem type
public AppBarItemBuilder TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:Returns the current AppBarItemBuilder instance.
The template which renders as content for the appbar item. Valid only for the contentItem type
public AppBarItemBuilder TemplateId(string templateId)
The ID of the template element for Template
Returns:Returns the current AppBarItemBuilder instance.
The template which renders as content for the appbar item. Valid only for the contentItem type
public AppBarItemBuilder TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:Returns the current AppBarItemBuilder instance.
Defines the type of positioning
public AppBarItemBuilder Type(AppBarItemType value)
The value for Type
Returns:Returns the current AppBarItemBuilder instance.
Determines the width of the item. Valid only for the spacer items. Numeric values are treated as pixels.
public AppBarItemBuilder Width(string value)
The value for Width
Returns:Returns the current AppBarItemBuilder instance.