SearchBoxEx.DropDownWidth, propriété (Microsoft.SharePoint.Portal.WebControls)
Gets or sets the fixed width for the scopes dropdown in the search box Web Part.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<DefaultValueAttribute(0)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DDWidth", "SearchBox_ScopeDD", "SearchBox_DDWidth_ToolTip")> _
Public Property DropDownWidth As Integer
'Utilisation
Dim instance As SearchBoxEx
Dim value As Integer
value = instance.DropDownWidth
instance.DropDownWidth = value
[DefaultValueAttribute(0)]
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SearchBox_DDWidth", "SearchBox_ScopeDD", "SearchBox_DDWidth_ToolTip")]
public int DropDownWidth { get; set; }
Valeur de la propriété
A 32-bit integer that specifies the width, in pixels, for the scopes dropdown.
Voir aussi
Référence
SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms