Partilhar via


IEditor.HasFocus Property

Applies to v2.

Gets a value that indicates whether the editor has the focus.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property HasFocus As Boolean 
    Get
'Usage
Dim instance As IEditor 
Dim value As Boolean 

value = instance.HasFocus
bool HasFocus { get; }
property bool HasFocus {
    bool get ();
}
abstract HasFocus : bool
function get HasFocus () : boolean

Property Value

Type: System.Boolean
true if the editor has the focus; otherwise, false.

See Also

Reference

IEditor Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace