SearchBoxEx.TextBoxWidth, propriété (Microsoft.SharePoint.Portal.WebControls)
Gets or sets the fixed width for the query text box 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(170)> _
<ResourcesAttribute("SearchBox_QueryTextWidth", "SearchBox_QueryTextBox", "SearchBox_QueryTextWidth_ToolTip")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property TextBoxWidth As Integer
'Utilisation
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; }
Valeur de la propriété
A 32-bit integer that specifies the width, in pixels, for the query text box.
Voir aussi
Référence
SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms