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 Overridable ReadOnly Property AllowFirstFocus As Boolean
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.


The default implementation always returns true.

See Also


BaseFieldControl Class

BaseFieldControl Members

Microsoft.SharePoint.WebControls Namespace