BaseFieldControl.Focus method

When overridden in a derived class, sets focus to the rendered field.

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

Syntax

'Declaration
Public Overrides Sub Focus
'Usage
Dim instance As BaseFieldControl

instance.Focus()
public override void Focus()

Remarks

The default implementation of BaseFieldControl.Focus does nothing.

Notes to inheritors

For more information, see Control.Focus on the base implementation which may be helpful in designing an override.

See also

Reference

BaseFieldControl class

BaseFieldControl members

Microsoft.SharePoint.WebControls namespace