Share via


LevelHierarchyDataSource.NumColumns Property

Gets or sets the 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 LevelHierarchyDataSource
Dim value As Integer

value = instance.NumColumns

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

Property Value

Type: System.Int32

Remarks

A column starts at Level1. In order for more than one column to be rendered, there must be more than one Level1 style specified. The default value is 3 levels.

See Also

Reference

LevelHierarchyDataSource Class

LevelHierarchyDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace