Literal.Focus Method

Definition

Set input focus to a control; the Focus() base control method is not supported on a Literal control.

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

Exceptions

The Focus() was called on a Literal.

Remarks

The Literal control overrides the Focus method of the base class. The Focus method of a Literal control always throws an exception to indicate that the Focus method is not supported on a Literal control.

Applies to

See also