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)
Available in Sandboxed Solutions: No

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