New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the AppBarItem settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class AppBarItemBuilder

Inheritance: objectAppBarItemBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialize the AppBarItemBuilder

C#
public AppBarItemBuilder(AppBarItem settings)
Parameters:settingsAppBarItem

The AppBarItem

Methods

Defines a set CSS classes for the item.

C#
public AppBarItemBuilder ClassName(string value)
Parameters:valuestring

The value that configures the classname.

Returns:

AppBarItemBuilder

The template which renders as content for the appbar item. Valid only for the contentItem type

C#
public AppBarItemBuilder Template(string value)
Parameters:valuestring

The value that configures the template.

Returns:

AppBarItemBuilder

The template which renders as content for the appbar item. Valid only for the contentItem type

C#
public AppBarItemBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

AppBarItemBuilder

The template which renders as content for the appbar item. Valid only for the contentItem type

C#
public AppBarItemBuilder TemplateHandler(string value)
Parameters:valuestring

The value that configures the template.

Returns:

AppBarItemBuilder

The template which renders as content for the appbar item. Valid only for the contentItem type

C#
public AppBarItemBuilder TemplateId(string value)
Parameters:valuestring

The value that configures the template.

Returns:

AppBarItemBuilder

The template which renders as content for the appbar item. Valid only for the contentItem type

C#
public AppBarItemBuilder TemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the template.

Returns:

AppBarItemBuilder

Defines the type of item

C#
public AppBarItemBuilder Type(AppBarItemType value)
Parameters:valueAppBarItemType

The value that configures the type.

Returns:

AppBarItemBuilder

Determines the width of the item. Valid only for the spacer items. Numeric values are treated as pixels.

C#
public AppBarItemBuilder Width(string value)
Parameters:valuestring

The value that configures the width.

Returns:

AppBarItemBuilder