WebBrowser.Focused Property

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override bool Focused { get; }

Property Value

Type: System.Boolean

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.

SecurityPermission

for immediate callers to use this control. Demand value: LinkDemand; NIB: Named Permission Sets: FullTrust.

.NET Framework
Available since 2.0
Return to top
Show: