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

Defines the fluent API for configuring the Kendo AppBar for ASP.NET MVC.

Definition

Constructors

Initializes a new instance of the AppBar class.

C#
public AppBarBuilder(AppBar component)
Parameters:componentAppBar

The component.

Methods

Configures the client-side events.

C#
public AppBarBuilder Events(Action<AppBarEventBuilder> configurator)
Parameters:configuratorAction<AppBarEventBuilder>

The client events action.

Returns:

AppBarBuilder

Example:
C#
@( Html.Kendo().AppBar()
.Name("AppBar")
.Events(events =&gt; events
.Resize("onResize")
)
)

An array with objects representing the appbar items.

C#
public AppBarBuilder Items(Action<AppBarItemFactory> configurator)
Parameters:configuratorAction<AppBarItemFactory>

The action that configures the items.

Returns:

AppBarBuilder

Defines where in the page the AppBar will be positioned

C#
public AppBarBuilder Position(AppBarPosition value)
Parameters:valueAppBarPosition

The value that configures the position.

Returns:

AppBarBuilder

Defines the type of positioning

C#
public AppBarBuilder PositionMode(AppBarPositionMode value)
Parameters:valueAppBarPositionMode

The value that configures the positionmode.

Returns:

AppBarBuilder

Specifies the color of the component

C#
public AppBarBuilder ThemeColor(AppBarThemeColor value)
Parameters:valueAppBarThemeColor

The value that configures the themecolor.

Returns:

AppBarBuilder