Condividi tramite


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

'Dichiarazione
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

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