SearchBoxEx.DropDownMode Property
Gets or sets the display mode for the search box Web Part's scopes dropdown.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ResourcesAttribute("SearchBox_DDMode", "SearchBox_ScopeDD", "SearchBox_DDMode_ToolTip")> _
<WebPartStorageAttribute(Storage.None)> _
<BrowsableAttribute(False)> _
Public Property DropDownMode As DropDownModes
Get
Set
'Usage
Dim instance As SearchBoxEx
Dim value As DropDownModes
value = instance.DropDownMode
instance.DropDownMode = value
[ResourcesAttribute("SearchBox_DDMode", "SearchBox_ScopeDD", "SearchBox_DDMode_ToolTip")]
[WebPartStorageAttribute(Storage.None)]
[BrowsableAttribute(false)]
public DropDownModes DropDownMode { get; set; }
Property Value
Type: Microsoft.SharePoint.Portal.WebControls.DropDownModes
A value from the DropDownModes enumeration indicating the display mode for the scopes drop down.