SearchBoxEx.DropDownWidth Property

Gets or sets the fixed width for the scopes dropdown in the search box Web Part.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DDWidth", "SearchBox_ScopeDD", "SearchBox_DDWidth_ToolTip")> _
Public Property DropDownWidth As Integer
    Get
    Set
'Usage
Dim instance As SearchBoxEx
Dim value As Integer

value = instance.DropDownWidth

instance.DropDownWidth = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SearchBox_DDWidth", "SearchBox_ScopeDD", "SearchBox_DDWidth_ToolTip")]
public int DropDownWidth { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the width, in pixels, for the scopes dropdown.

See Also

Reference

SearchBoxEx Class

SearchBoxEx Members

Microsoft.SharePoint.Portal.WebControls Namespace