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

Defines the fluent API for configuring List<TreeListColumn<T>>

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<T>> container)
Parameters:containerList<TreeListColumn<T>>

The TreeListColumnFactory container.

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

C#
public TreeListColumnFactory(TreeListColumnGroup<T> columnGroup)
Parameters:columnGroupTreeListColumnGroup<T>

The TreeListColumnFactory column group.

Properties

Gets the container of the TreeListColumnFactory

C#
protected List<TreeListColumn<T>> Container { get; }

TreeList member.

C#
public TreeList<T> TreeList { get; set; }

Methods

Adds an item to the collection

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

TreeListColumnBuilder<T>

Returns a TreeListColumnBuilder<T> with the available configuration options.

Defines the group of the column

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

The TreeListColumnGroupBuilder<T> configurator.

Returns:

TreeListColumnGroupBuilder<T>

The TreeListColumnGroupBuilder<T> instance.