ComponentOne ASP.NET MVC Controls
MaxDepth Method

C1.Web.Mvc.Fluent Namespace > TreeMapBuilder<T> Class : MaxDepth Method
The value.
Configurates C1.Web.Mvc.TreeMap<T>.MaxDepth. Sets the maximum number of node levels to show in the current view.
Syntax
'Declaration
 
Public Function MaxDepth( _
   ByVal value As Integer _
) As TreeMapBuilder(Of T)
public TreeMapBuilder<T> MaxDepth( 
   int value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
Levels will be flattened into the current plane. If your C1.Web.Mvc.TreeMap<T> has more levels than this, you will have to go up or down to see them.
See Also

Reference

TreeMapBuilder<T> Class
TreeMapBuilder<T> Members