共用方式為


ITextView.HasAggregateFocus Property

Determines whether the view or any of its adornments has focus.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣告
ReadOnly Property HasAggregateFocus As Boolean
bool HasAggregateFocus { get; }
property bool HasAggregateFocus {
    bool get ();
}
abstract HasAggregateFocus : bool
function get HasAggregateFocus () : boolean

Property Value

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

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace