Partager via


SearchBoxEx.DropDownMode, propriété (Microsoft.SharePoint.Portal.WebControls)

Gets or sets the display mode for the search box Web Part's scopes dropdown.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<ResourcesAttribute("SearchBox_DDMode", "SearchBox_ScopeDD", "SearchBox_DDMode_ToolTip")> _
<WebPartStorageAttribute(Storage.None)> _
<BrowsableAttribute(False)> _
Public Property DropDownMode As DropDownModes
'Utilisation
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; }

Valeur de la propriété

A value from the DropDownModes enumeration indicating the display mode for the scopes drop down.

Voir aussi

Référence

SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms