다음을 통해 공유


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