Share via


LevelHierarchyToolPart.ApplyStateField Method

Sets the appropriate expand or collapse state of the control.

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

Syntax

'Declaration
Protected Sub ApplyStateField ( _
    sectionContainerControl As Control, _
    id As String _
)
'Usage
Dim sectionContainerControl As Control
Dim id As String

Me.ApplyStateField(sectionContainerControl, _
    id)
protected void ApplyStateField(
    Control sectionContainerControl,
    string id
)

Parameters

  • sectionContainerControl
    Type: System.Web.UI.Control
    A System.Web.UI.Control object that represents the container control.
  • id
    Type: System.String
    A string that represents the container control identifier.

See Also

Reference

LevelHierarchyToolPart Class

LevelHierarchyToolPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace