This topic has not yet been rated - Rate this topic

LevelHierarchyWebPart.DisplayColumns 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)
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public int DisplayColumns { get; set; }

Property Value

Type: System.Int32

A column starts only at Level1. To render more than one column, you must specify more than one Level1 level. The default value is 3. If a negative number or 0 is passed to the setter property, a value of 1 is assumed.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ