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

Defines the fluent API for configuring TreeListColumnMenuSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectTreeListColumnMenuSettingsBuilder<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 TreeListColumnMenuSettingsBuilder<T> class.

C#
public TreeListColumnMenuSettingsBuilder(TreeListColumnMenuSettings<T> container)
Parameters:containerTreeListColumnMenuSettings<T>

The TreeListColumnMenuSettingsBuilder container.

Properties

Gets the container of the TreeListColumnMenuSettingsBuilder

C#
protected TreeListColumnMenuSettings<T> Container { get; }

Methods

If set to true, the column menu allows the user to select (show and hide) TreeList columns. By default, the column menu allows column selection.

C#
public TreeListColumnMenuSettingsBuilder<T> Columns(bool value)
Parameters:valuebool

The value for Columns

Returns:

TreeListColumnMenuSettingsBuilder<T>

Returns the current TreeListColumnMenuSettingsBuilder<T> instance.

Specifies the component type of the column menu.

C#
public TreeListColumnMenuSettingsBuilder<T> ComponentType(ColumnMenuType value)
Parameters:valueColumnMenuType

The value for ComponentType

Returns:

TreeListColumnMenuSettingsBuilder<T>

Returns the current TreeListColumnMenuSettingsBuilder<T> instance.

If set to true, the column menu will allow the user to filter the TreeList. By default, if filtering is enabled through filterable, the column menu allows the user to filter.

C#
public TreeListColumnMenuSettingsBuilder<T> Filterable(bool value)
Parameters:valuebool

The value for Filterable

Returns:

TreeListColumnMenuSettingsBuilder<T>

Returns the current TreeListColumnMenuSettingsBuilder<T> instance.

The text messages that is played in the column menu. Use it to customize or localize the column menu messages.

C#
public TreeListColumnMenuSettingsBuilder<T> Messages(Action<TreeListColumnMenuMessagesSettingsBuilder<T>> configurator)
Parameters:configuratorAction<TreeListColumnMenuMessagesSettingsBuilder<T>>

The TreeListColumnMenuMessagesSettingsBuilder<T> for the messages setting.

Returns:

TreeListColumnMenuSettingsBuilder<T>

Returns the current instance of TreeListColumnMenuSettingsBuilder<T> .

If set to true, the column menu will allow the user to sort the TreeList by the column field. By default, if sorting is enabled through sortable, the column menu allows the user to sort the data.

C#
public TreeListColumnMenuSettingsBuilder<T> Sortable(bool value)
Parameters:valuebool

The value for Sortable

Returns:

TreeListColumnMenuSettingsBuilder<T>

Returns the current TreeListColumnMenuSettingsBuilder<T> instance.