ISpaceReservationManager::CreatePopupAgent Method (ITrackingSpan^, PopupStyles, UIElement^)

 

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

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

ISpaceReservationAgent^ CreatePopupAgent(
	ITrackingSpan^ visualSpan,
	PopupStyles style,
	UIElement^ content
)

Parameters

visualSpan
Type: Microsoft.VisualStudio.Text::ITrackingSpan^

The span of text associated with the popup window.

style
Type: Microsoft.VisualStudio.Text.Adornments::PopupStyles

The style options for displaying the popup window.

content
Type: System.Windows::UIElement^

The UI element to be displayed in the popup window.

Return Value

Type: Microsoft.VisualStudio.Text.Editor::ISpaceReservationAgent^

An ISpaceReservationAgent that displays the content in a popup window.

Return to top
Show: