ComponentOne ASP.NET MVC Controls
ExpandOnLoad Method

C1.Web.Mvc.Fluent Namespace > TreeViewBuilder Class : ExpandOnLoad Method
The value.
Configurates C1.Web.Mvc.TreeView.ExpandOnLoad. Sets a value that determines whether to toggle checkboxes when the user clicks the node header.
Syntax
'Declaration
 
Public Function ExpandOnLoad( _
   ByVal value As Boolean _
) As TreeViewBuilder
public TreeViewBuilder ExpandOnLoad( 
   bool value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
The default value for this property is false, which causes checkboxes to be toggled only when the user clicks the checkbox itself (not the node header).
See Also

Reference

TreeViewBuilder Class
TreeViewBuilder Members