Share via


SearchBoxEx.TextBeforeDropDown Property

Gets or sets the text displayed in front of the search box Web Part's scopes dropdown.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DDLabel", "SearchBox_ScopeDD", "SearchBox_DDLabel_ToolTip")> _
Public Property TextBeforeDropDown As String
    Get
    Set
'Usage
Dim instance As SearchBoxEx
Dim value As String

value = instance.TextBeforeDropDown

instance.TextBeforeDropDown = value
[BrowsableAttribute(true)]
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SearchBox_DDLabel", "SearchBox_ScopeDD", "SearchBox_DDLabel_ToolTip")]
public string TextBeforeDropDown { get; set; }

Property Value

Type: System.String
A string that contains the text displayed in front of the scopes dropdown.

See Also

Reference

SearchBoxEx Class

SearchBoxEx Members

Microsoft.SharePoint.Portal.WebControls Namespace