Share via


AdvancedSearchBox.ShowPropertiesSection Property

Gets or sets a Boolean value that indicates whether the AdvancedSearchBox Web Part displays the Properties section.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(True)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowPropertiesLabel_Text",  _
    "AdvancedSearchBox_ToolPart_PropertiesSection", "AdvancedSearchBox_ToolPart_ShowPropertiesLabel_Text")> _
Public Property ShowPropertiesSection As Boolean
    Get
    Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As Boolean

value = instance.ShowPropertiesSection

instance.ShowPropertiesSection = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(true)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowPropertiesLabel_Text", 
    "AdvancedSearchBox_ToolPart_PropertiesSection", "AdvancedSearchBox_ToolPart_ShowPropertiesLabel_Text")]
public bool ShowPropertiesSection { get; set; }

Property Value

Type: System.Boolean
true if the Properties section is displayed; otherwise, false.

See Also

Reference

AdvancedSearchBox Class

AdvancedSearchBox Members

Microsoft.Office.Server.Search.WebControls Namespace