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