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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property DisableInitialFocus As Boolean
Get
Set
'Usage
Dim instance As ListFormWebPart
Dim value As Boolean
value = instance.DisableInitialFocus
instance.DisableInitialFocus = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public bool DisableInitialFocus { get; set; }
Property Value
Type: System.Boolean
true if the initial focus is disabled for form fields; otherwise, false.