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

Defines the fluent API for configuring DropDownTreeCheckboxesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownTreeCheckboxesSettingsBuilder

Inheritance: objectDropDownTreeCheckboxesSettingsBuilder

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

Constructors

DropDownTreeCheckboxesSettingsBuilder method.

C#
public DropDownTreeCheckboxesSettingsBuilder(DropDownTreeCheckboxesSettings container)
Parameters:containerDropDownTreeCheckboxesSettings

Properties

Gets the settings being configured.

C#
protected DropDownTreeCheckboxesSettings 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 DropDownTreeCheckboxesSettingsBuilder CheckChildren()
Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder 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 DropDownTreeCheckboxesSettingsBuilder CheckChildren(bool value)
Parameters:valuebool

The value for CheckChildren

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder instance.

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

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

The value for Name

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder 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 DropDownTreeCheckboxesSettingsBuilder Template(string value)
Parameters:valuestring

The value for Template

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder 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 DropDownTreeCheckboxesSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder 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 DropDownTreeCheckboxesSettingsBuilder TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder 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 DropDownTreeCheckboxesSettingsBuilder TemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for Template

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder 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 DropDownTreeCheckboxesSettingsBuilder TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

DropDownTreeCheckboxesSettingsBuilder

Returns the current DropDownTreeCheckboxesSettingsBuilder instance.