BaseFieldControl.AllowFirstFocus Property

Gets a value indicating whether the page, on loading, can set the initial focus to the BaseFieldControl.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

protected virtual bool AllowFirstFocus { get; }

Property Value

Type: System.Boolean
true if the page is allowed to set the initial focus to the BaseFieldControl; otherwise, false.

The default implementation always returns true.