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
An int that contains the number of columns used to render levels. The default is 3.

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.

See also

Reference

LevelHierarchyDataSource class

LevelHierarchyDataSource members

Microsoft.SharePoint.Publishing.WebControls namespace