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

Defines the fluent API for adding items to Kendo PanelBar for ASP.NET MVC

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PanelBarItemFactory

Inheritance: objectPanelBarItemFactory

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

Constructors

Initializes a new instance of the PanelBarItemFactory class.

C#
public PanelBarItemFactory(INavigationItemContainer<PanelBarItem> container, ViewContext viewContext, int level = 0)
Parameters:containerINavigationItemContainer<PanelBarItem>

The container.

viewContextViewContext

The view context.

levelint

Methods

Adds a new item to the PanelBar.

C#
public virtual PanelBarItemBuilder Add()
Returns:

PanelBarItemBuilder

Returns a PanelBarItemBuilder with the available configuration options.