Defines the fluent API for configuring DropDownTreeCheckboxesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DropDownTreeCheckboxesSettingsBuilder
Inheritance: objectDropDownTreeCheckboxesSettingsBuilder
Inherited Members
Constructors
DropDownTreeCheckboxesSettingsBuilder method.
public DropDownTreeCheckboxesSettingsBuilder(DropDownTreeCheckboxesSettings container)
Properties
Gets the settings being configured.
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.
public DropDownTreeCheckboxesSettingsBuilder CheckChildren()
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.
public DropDownTreeCheckboxesSettingsBuilder CheckChildren(bool value)
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.
public DropDownTreeCheckboxesSettingsBuilder Name(string value)
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.
public DropDownTreeCheckboxesSettingsBuilder Template(string value)
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.
public DropDownTreeCheckboxesSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
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.
public DropDownTreeCheckboxesSettingsBuilder TemplateHandler(string templateHandler)
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.
public DropDownTreeCheckboxesSettingsBuilder TemplateId(string templateId)
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.
public DropDownTreeCheckboxesSettingsBuilder TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:DropDownTreeCheckboxesSettingsBuilder
Returns the current DropDownTreeCheckboxesSettingsBuilder instance.