: SearchBoxEx.ShouldTakeFocusIfEmpty (Propiedad) (Microsoft.SharePoint.Portal.WebControls)
Gets or sets a Boolean value indicating whether the search box Web Part receives focus if it is empty.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ShouldTakeFocusIfEmpty As Boolean
'Uso
Dim instance As SearchBoxEx
Dim value As Boolean
value = instance.ShouldTakeFocusIfEmpty
instance.ShouldTakeFocusIfEmpty = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public bool ShouldTakeFocusIfEmpty { get; set; }
Valor de propiedad
true if the search box Web Part receives focus; otherwise, false.
Vea también
Referencia
SearchBoxEx (Clase)
SearchBoxEx (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)