: SearchBoxEx.TextBoxWidth (Propiedad) (Microsoft.SharePoint.Portal.WebControls)
Gets or sets the fixed width for the query text box in the search box Web Part.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
<DefaultValueAttribute(170)> _
<ResourcesAttribute("SearchBox_QueryTextWidth", "SearchBox_QueryTextBox", "SearchBox_QueryTextWidth_ToolTip")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property TextBoxWidth As Integer
'Uso
Dim instance As SearchBoxEx
Dim value As Integer
value = instance.TextBoxWidth
instance.TextBoxWidth = value
[DefaultValueAttribute(170)]
[ResourcesAttribute("SearchBox_QueryTextWidth", "SearchBox_QueryTextBox", "SearchBox_QueryTextWidth_ToolTip")]
[WebPartStorageAttribute(Storage.Shared)]
public int TextBoxWidth { get; set; }
Valor de propiedad
A 32-bit integer that specifies the width, in pixels, for the query text box.
Vea también
Referencia
SearchBoxEx (Clase)
SearchBoxEx (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)