ISpaceReservationAgent.HasFocus Property
Determines whether the adornment created by the space reservation agent has keyboard focus.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
声明
ReadOnly Property HasFocus As Boolean
bool HasFocus { get; }
property bool HasFocus {
bool get ();
}
abstract HasFocus : bool
function get HasFocus () : boolean
Property Value
Type: System.Boolean
true if the adornment has focus, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.