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

Defines the fluent API for configuring TreeViewCheckboxesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class TreeViewCheckboxesSettingsBuilder

Inheritance: objectTreeViewCheckboxesSettingsBuilder

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

Constructors

TreeViewCheckboxesSettingsBuilder method.

C#
public TreeViewCheckboxesSettingsBuilder(TreeViewCheckboxesSettings container)
Parameters:containerTreeViewCheckboxesSettings

Properties

Gets the settings being configured.

C#
protected TreeViewCheckboxesSettings Container { get; }

Methods

Indicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This also enables tri-state checkboxes with an indeterminate state.

C#
public TreeViewCheckboxesSettingsBuilder CheckChildren()
Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

Indicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This also enables tri-state checkboxes with an indeterminate state.

C#
public TreeViewCheckboxesSettingsBuilder CheckChildren(bool value)
Parameters:valuebool

The value for CheckChildren

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

Sets the name attribute of the checkbox inputs. That name will be posted to the server.

C#
public TreeViewCheckboxesSettingsBuilder Name(string value)
Parameters:valuestring

The value for Name

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

The template which renders the checkboxes. Can be used to allow posting of additional information along the TreeView checkboxes.The fields which can be used in the template are: item - the data item of the given node or treeview - the TreeView options.

C#
public TreeViewCheckboxesSettingsBuilder Template(string value)
Parameters:valuestring

The value for Template

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

The template which renders the checkboxes. Can be used to allow posting of additional information along the TreeView checkboxes.The fields which can be used in the template are: item - the data item of the given node or treeview - the TreeView options.

C#
public TreeViewCheckboxesSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

The template which renders the checkboxes. Can be used to allow posting of additional information along the TreeView checkboxes.The fields which can be used in the template are: item - the data item of the given node or treeview - the TreeView options.

C#
public TreeViewCheckboxesSettingsBuilder TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

The template which renders the checkboxes. Can be used to allow posting of additional information along the TreeView checkboxes.The fields which can be used in the template are: item - the data item of the given node or treeview - the TreeView options.

C#
public TreeViewCheckboxesSettingsBuilder TemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for Template

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.

The template which renders the checkboxes. Can be used to allow posting of additional information along the TreeView checkboxes.The fields which can be used in the template are: item - the data item of the given node or treeview - the TreeView options.

C#
public TreeViewCheckboxesSettingsBuilder TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

TreeViewCheckboxesSettingsBuilder

Returns the current TreeViewCheckboxesSettingsBuilder instance.