Edit

Share via


ProxyWebPartManager.Focus Method

Definition

Overrides the base method to prevent the method from being called.

public override void Focus();

Exceptions

A caller tries to call this method.

Remarks

The Focus method overrides the base method and throws an exception if any caller attempts to call the method. This is because the inherited Control.Focus method is designed for controls with a user interface (UI), but the ProxyWebPartManager control has no UI and therefore has no need to set the focus.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also