Condividi tramite


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

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