다음을 통해 공유


LevelHierarchyDataSource.Level2StyleTemplate Property

Gets or sets the style used to display items in the second-level data style template.

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 LevelHierarchyDataSource
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 used to display a second-level data style. The default value is an empty string.

Remarks

This property must be configured in order for the Web Part to render a second-level style.

See Also

Reference

LevelHierarchyDataSource Class

LevelHierarchyDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace