SearchBoxEx.TextBoxWidth property

Gets or sets the fixed width for the query text box in the search box Web Part.

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

Syntax

'Declaration
Public Property TextBoxWidth As Integer
    Get
    Set
'Usage
Dim instance As SearchBoxEx
Dim value As Integer

value = instance.TextBoxWidth

instance.TextBoxWidth = value
public int TextBoxWidth { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the width, in pixels, for the query text box.

See also

Reference

SearchBoxEx class

SearchBoxEx members

Microsoft.SharePoint.Portal.WebControls namespace