Share via


LevelHierarchyDataSource.Level1StyleTemplate property

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

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

Syntax

'Declaration
Public Property Level1StyleTemplate As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyDataSource
Dim value As String

value = instance.Level1StyleTemplate

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

Property value

Type: System.String
The name of the XSL template used to display a first-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 first-level style.

See also

Reference

LevelHierarchyDataSource class

LevelHierarchyDataSource members

Microsoft.SharePoint.Publishing.WebControls namespace