संपादित करें

इसके माध्यम से साझा किया गया


WebPartManager.Focus Method

Definition

Overridden to prevent focus from ever being set on the WebPartManager control, because it has no user interface (UI).

public:
 override void Focus();
public override void Focus ();
override this.Focus : unit -> unit
Public Overrides Sub Focus ()

Exceptions

A caller tries to call the Focus() method, which is not supported in a control that has no UI.

Remarks

The Focus method overrides the base Control.Focus method, and throws an exception if a caller calls the method. Because the WebPartManager control has no UI and is never visible to users, it can never allow focus to be set on itself.

Applies to