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

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

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TreeListColumnFactory<T> where T : class

Inheritance: objectTreeListColumnFactory<T>

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 TreeListColumnFactory<T> class.

C#
public TreeListColumnFactory(List<TreeListColumn> container, ViewContext viewContext, IUrlGenerator urlGenerator)
Parameters:containerList<TreeListColumn>

The container.

viewContextViewContexturlGeneratorIUrlGenerator

Initializes a new instance of the TreeListColumnFactory<T> class.

C#
public TreeListColumnFactory(TreeListColumnGroup columnGroup, ViewContext viewContext, IUrlGenerator urlGenerator)
Parameters:columnGroupTreeListColumnGroup

The column group.

viewContextViewContexturlGeneratorIUrlGenerator

Methods

Defines a new column.

C#
public virtual TreeListColumnBuilder<T> Add()
Returns:

TreeListColumnBuilder<T>

Defines a group to contain nested column/columns.

C#
public virtual TreeListColumnGroupBuilder<T> Group(Action<TreeListColumnGroupBuilder<T>> configurator)
Parameters:configuratorAction<TreeListColumnGroupBuilder<T>>

The TreeListColumnGroupBuilder<T> configurator.

Returns:

TreeListColumnGroupBuilder<T>