다음을 통해 공유


ISpaceReservationManager.CreatePopupAgent Method

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)

Syntax

'Declaration
Function CreatePopupAgent ( _
    visualSpan As ITrackingSpan, _
    style As PopupStyles, _
    content As UIElement _
) As ISpaceReservationAgent
ISpaceReservationAgent CreatePopupAgent(
    ITrackingSpan visualSpan,
    PopupStyles style,
    UIElement content
)
ISpaceReservationAgent^ CreatePopupAgent(
    ITrackingSpan^ visualSpan, 
    PopupStyles style, 
    UIElement^ content
)
abstract CreatePopupAgent : 
        visualSpan:ITrackingSpan * 
        style:PopupStyles * 
        content:UIElement -> ISpaceReservationAgent
function CreatePopupAgent(
    visualSpan : ITrackingSpan, 
    style : PopupStyles, 
    content : UIElement
) : ISpaceReservationAgent

Parameters

  • content
    Type: 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.

.NET Framework Security

See Also

Reference

ISpaceReservationManager Interface

Microsoft.VisualStudio.Text.Editor Namespace