Class DropDownTreeTreeSettings
Inheritance
Namespace: Syncfusion.EJ2.DropDowns
Assembly: Syncfusion.EJ2.dll
Syntax
public class DropDownTreeTreeSettings : EJTagHelper
Constructors
DropDownTreeTreeSettings()
Declaration
public DropDownTreeTreeSettings()
Properties
AutoCheck
Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.
Declaration
public bool AutoCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
CheckDisabledChildren
Determines whether the disabled children will be checked or not if their parent is checked.
Declaration
public bool CheckDisabledChildren { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
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 ExpandOn ExpandOn { get; set; }
Property Value
Type | Description |
---|---|
ExpandOn | The default value is ExpandOn.Auto |
LoadOnDemand
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 bool LoadOnDemand { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |