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