Share via


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)

Syntax

'Declaration
Protected Overridable ReadOnly Property AllowFirstFocus As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.AllowFirstFocus
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.

Remarks

The default implementation always returns true.

See also

Reference

BaseFieldControl class

BaseFieldControl members

Microsoft.SharePoint.WebControls namespace