Defines the fluent interface for configuring child DropDownTree items.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DropDownTreeCheckboxesBuilder
Inheritance: objectDropDownTreeCheckboxesBuilder
Inherited Members
Constructors
Initializes a new instance of the DropDownTreeCheckboxesBuilder class.
public DropDownTreeCheckboxesBuilder(DropDownTreeCheckboxesSettings settings)
The checkbox settings.
Methods
Enable/disable checking of child checkboxes in the dropdowntree.
public virtual DropDownTreeCheckboxesBuilder CheckChildren(bool checkChildren)
Whether checking of parent checkboxes should check child checkboxes.
Returns:Enable/disable rendering of checkboxes in the dropdowntree.
public virtual DropDownTreeCheckboxesBuilder Enabled(bool enabled)
Whether checkboxes should be rendered.
Returns:The name attribute of the checkbox fields. This will correlate to the name of the action method parameter that the nodes are posted to.
public DropDownTreeCheckboxesBuilder Name(string name)
The string that will be used in the name attribute.
Returns:Client-side template to be used for rendering the items in the dropdowntree.
Defines the template, which renders the checkboxes.
public DropDownTreeCheckboxesBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures checkboxes template.
Returns:Specifies a JavaScript function name. The value returned by thе function will бе used to render the item checkboxes in the dropdowntree.
public DropDownTreeCheckboxesBuilder TemplateHandler(string value)
The name of the JavaScript function that will handle the template evaluation.
Returns:Id of the element that holds the client-side template to be used for rendering the items in the dropdowntree.
public DropDownTreeCheckboxesBuilder TemplateId(string templateId)
The ID of the template element for CheckBox Template
Returns:Id of the element that holds the client-side template to be used for rendering the items in the dropdowntree.
public DropDownTreeCheckboxesBuilder TemplateView(MvcHtmlString templateView)
The view that contains CheckBox Template
Returns: