ISpaceReservationManager Interface

Manages 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 ISpaceReservationManager
public interface ISpaceReservationManager
public interface class ISpaceReservationManager
type ISpaceReservationManager =  interface end
public interface ISpaceReservationManager

The ISpaceReservationManager type exposes the following members.

Properties

  Name Description
Public property Agents Gets the list of agents managed by this manager.
Public property HasAggregateFocus Determines whether the adornment created by the space reservation agent has keyboard focus.
Public property IsMouseOver Determines whether the mouse is over an agent managed by this manager.

Top

Methods

  Name Description
Public method AddAgent Adds a space reservation agent to the list of agents managed by this manager.
Public method CreatePopupAgent Creates a default implementation of an ISpaceReservationAgent that displays its content in a popup window.
Public method RemoveAgent Removes the specified space reservation agent from the list of agents managed by this manager.
Public method UpdatePopupAgent Updates the specified agent with the specified span.

Top

Events

  Name Description
Public event AgentChanged Occurs when the agent is changed.
Public event GotAggregateFocus Occurs when any of the adornments managed by this space reservation manager gets keyboard focus.
Public event LostAggregateFocus Occurs when keyboard focus is lost by any of the adornments managed by this space reservation manager.

Top

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace