Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property DisplayColumns As Integer
Get
Set
'Usage
Dim instance As LevelHierarchyWebPart
Dim value As Integer
value = instance.DisplayColumns
instance.DisplayColumns = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public int DisplayColumns { get; set; }
Property Value
Type: System.Int32
Remarks
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.