Freigeben über


ISpaceReservationManager.CreatePopupAgent-Methode

Erstellt eine Standardimplementierung von ISpaceReservationAgent , die ihren Inhalt in einem Popupfenster anzeigt.

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

Parameter

  • content
    Typ: UIElement

    Das im Popupfenster anzuzeigende Benutzeroberflächenelement.

Rückgabewert

Typ: Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent
ISpaceReservationAgent , das den Inhalt in einem Popupfenster anzeigt.

.NET Framework-Sicherheit

Siehe auch

Referenz

ISpaceReservationManager Schnittstelle

Microsoft.VisualStudio.Text.Editor-Namespace