Share via


ISpaceReservationManager.CreatePopupAgent Method

Definition

Creates a default implementation of an ISpaceReservationAgent that displays content in a popup window.

public:
 Microsoft::VisualStudio::Text::Editor::ISpaceReservationAgent ^ CreatePopupAgent(Microsoft::VisualStudio::Text::ITrackingSpan ^ visualSpan, Microsoft::VisualStudio::Text::Adornments::PopupStyles style, System::Windows::UIElement ^ content);
public Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent CreatePopupAgent (Microsoft.VisualStudio.Text.ITrackingSpan visualSpan, Microsoft.VisualStudio.Text.Adornments.PopupStyles style, System.Windows.UIElement content);
abstract member CreatePopupAgent : Microsoft.VisualStudio.Text.ITrackingSpan * Microsoft.VisualStudio.Text.Adornments.PopupStyles * System.Windows.UIElement -> Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent
Public Function CreatePopupAgent (visualSpan As ITrackingSpan, style As PopupStyles, content As UIElement) As ISpaceReservationAgent

Parameters

visualSpan
ITrackingSpan

The span of text associated with the tip.

style
PopupStyles

The style options for displaying the tip.

content
UIElement

The UI element to be displayed in the tip.

Returns

An ISpaceReservationAgent that will display the desired content in a popup window.

Applies to