Class DropDownTreeTreeSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DropDownTreeTreeSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class DropDownTreeTreeSettingsBuilder : ControlBuilder
Constructors
DropDownTreeTreeSettingsBuilder()
Declaration
public DropDownTreeTreeSettingsBuilder()
DropDownTreeTreeSettingsBuilder(DropDownTreeTreeSettings)
Declaration
public DropDownTreeTreeSettingsBuilder(DropDownTreeTreeSettings model)
Parameters
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
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
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
Returns
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