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
'宣告
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 | |
---|---|---|
Agents | Gets the list of agents managed by this manager. | |
HasAggregateFocus | Determines whether the adornment created by the space reservation agent has keyboard focus. | |
IsMouseOver | Determines whether the mouse is over an agent managed by this manager. |
Top
Methods
Name | Description | |
---|---|---|
AddAgent | Adds a space reservation agent to the list of agents managed by this manager. | |
CreatePopupAgent | Creates a default implementation of an ISpaceReservationAgent that displays its content in a popup window. | |
RemoveAgent | Removes the specified space reservation agent from the list of agents managed by this manager. | |
UpdatePopupAgent | Updates the specified agent with the specified span. |
Top
Events
Name | Description | |
---|---|---|
AgentChanged | Occurs when the agent is changed. | |
GotAggregateFocus | Occurs when any of the adornments managed by this space reservation manager gets keyboard focus. | |
LostAggregateFocus | Occurs when keyboard focus is lost by any of the adornments managed by this space reservation manager. |
Top