ListFormWebPart.DisableInitialFocus property

Gets or sets a value that indicates whether to disable the initial focus for form fields.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property DisableInitialFocus As Boolean
    Get
    Set
'Usage
Dim instance As ListFormWebPart
Dim value As Boolean

value = instance.DisableInitialFocus

instance.DisableInitialFocus = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public bool DisableInitialFocus { get; set; }

Property value

Type: System.Boolean
true if the initial focus is disabled for form fields; otherwise, false.

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace