編輯

共用方式為


WebBrowser.Focused Property

Definition

Gets a value indicating whether the control or any of its child windows has input focus.

public:
 virtual property bool Focused { bool get(); };
public override bool Focused { get; }
member this.Focused : bool
Public Overrides ReadOnly Property Focused As Boolean

Property Value

true if the control or any of its child windows has input focus; otherwise, false.

Notes to Inheritors

When overriding the Focused property in a derived class, use the base class's Focused property to extend the base implementation. Otherwise, you must provide all the implementation.

Applies to