Share via


LevelHierarchyDataSourceView.Level2StyleTemplate Property

Style to use to display items in the second level.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property Level2StyleTemplate As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyDataSourceView
Dim value As String

value = instance.Level2StyleTemplate

instance.Level2StyleTemplate = value
public string Level2StyleTemplate { get; set; }

Property Value

Type: System.String
The name of the XSL template to be used to display a Level2 level.

Remarks

This property must be configured in order for the Web Part to render a Level2 level. The default value is an empty string

See Also

Reference

LevelHierarchyDataSourceView Class

LevelHierarchyDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace