Share via


LevelHierarchyDataSourceView.NumColumns Property

Number of columns used to render Levels.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property NumColumns As Integer
    Get
    Set
'Usage
Dim instance As LevelHierarchyDataSourceView
Dim value As Integer

value = instance.NumColumns

instance.NumColumns = value
public int NumColumns { get; set; }

Property Value

Type: System.Int32

Remarks

A column will only start at Level1. In order for more than one column to be rendered, there must be more than one Level1 level. The default value is 3.

See Also

Reference

LevelHierarchyDataSourceView Class

LevelHierarchyDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace