Partager via


ISpaceReservationAgent Interface

Handles the display of space reservation adornments.

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

Syntax

'Declaration
Public Interface ISpaceReservationAgent
public interface ISpaceReservationAgent
public interface class ISpaceReservationAgent
type ISpaceReservationAgent =  interface end
public interface ISpaceReservationAgent

The ISpaceReservationAgent type exposes the following members.

Properties

  Name Description
Public property HasFocus Determines whether the adornment created by the space reservation agent has keyboard focus.
Public property IsMouseOver Determines whether the mouse is over this agent or anything it contains.

Top

Methods

  Name Description
Public method Hide Called whenever the content of the space reservation agent should be hidden.
Public method PositionAndDisplay Positions and displays the contents of the ISpaceReservationAgent.

Top

Events

  Name Description
Public event GotFocus Occurs when the adornment created by the agent gets focus.
Public event LostFocus Occurs when the adornment created by the agent loses focus.

Top

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace