menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DropDownTreeTreeSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DropDownTreeTreeSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DropDownTreeTreeSettingsBuilder
    Namespace: Syncfusion.EJ2.DropDowns
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DropDownTreeTreeSettingsBuilder : ControlBuilder

    Constructors

    DropDownTreeTreeSettingsBuilder()

    Declaration
    public DropDownTreeTreeSettingsBuilder()

    DropDownTreeTreeSettingsBuilder(DropDownTreeTreeSettings)

    Declaration
    public DropDownTreeTreeSettingsBuilder(DropDownTreeTreeSettings model)
    Parameters
    Type Name Description
    DropDownTreeTreeSettings model

    Methods

    AutoCheck(Boolean)

    Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.

    Declaration
    public DropDownTreeTreeSettingsBuilder AutoCheck(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    DropDownTreeTreeSettingsBuilder

    CheckDisabledChildren(Boolean)

    Determines whether the disabled children will be checked or not if their parent is checked.

    Declaration
    public DropDownTreeTreeSettingsBuilder CheckDisabledChildren(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    DropDownTreeTreeSettingsBuilder

    ExpandOn(ExpandOn)

    Specifies the action on which the parent items in the pop-up should expand or collapse. The available actions are Auto - In desktop, the expand or collapse operation happens when you double-click the node, and in mobile devices it happens on single-tap. Click - The expand or collapse operation happens when you perform single-click/tap on the pop-up item in both desktop and mobile devices. DblClick - The expand or collapse operation happens when you perform a double-click/tap on the pop-up item in both desktop and mobile devices. None - The expand or collapse operation will not happen when you perform single-click/tap or double-click/tap on the pop-up items in both desktop and mobile devices.

    Declaration
    public DropDownTreeTreeSettingsBuilder ExpandOn(ExpandOn value)
    Parameters
    Type Name Description
    ExpandOn value
    Returns
    Type
    DropDownTreeTreeSettingsBuilder

    LoadOnDemand(Boolean)

    By default, the load on demand (Lazy load) is set to false. Enabling this property will render only the parent tree items in the popup and the child items will be rendered on demand when expanding the corresponding parent node.

    Declaration
    public DropDownTreeTreeSettingsBuilder LoadOnDemand(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    DropDownTreeTreeSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved