SearchBoxEx.ShouldTakeFocusIfEmpty, propriété (Microsoft.SharePoint.Portal.WebControls)
Gets or sets a Boolean value indicating whether the search box Web Part receives focus if it is empty.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ShouldTakeFocusIfEmpty As Boolean
'Utilisation
Dim instance As SearchBoxEx
Dim value As Boolean
value = instance.ShouldTakeFocusIfEmpty
instance.ShouldTakeFocusIfEmpty = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public bool ShouldTakeFocusIfEmpty { get; set; }
Valeur de la propriété
true if the search box Web Part receives focus; otherwise, false.
Voir aussi
Référence
SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms