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.
Sets the appropriate expand or collapse state of the control.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Sub ApplyStateField ( _
sectionContainerControl As Control, _
id As String, _
isExpandedByDefault As Boolean _
)
'Usage
Dim sectionContainerControl As Control
Dim id As String
Dim isExpandedByDefault As Boolean
Me.ApplyStateField(sectionContainerControl, _
id, isExpandedByDefault)
protected void ApplyStateField(
Control sectionContainerControl,
string id,
bool isExpandedByDefault
)
Parameters
sectionContainerControl
Type: System.Web.UI.ControlThe container control.
id
Type: System.StringThe container control identifier (ID).
isExpandedByDefault
Type: System.BooleanSpecifies whether the control is expanded or collapsed by default.
See Also
Reference
SearchResultsBaseToolPart Class