Share via


AttachmentsField.AllowFirstFocus property

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

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

This override of AllowFirstFocus always returns false.

See also

Reference

AttachmentsField class

AttachmentsField members

Microsoft.SharePoint.WebControls namespace