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
visualSpan
Typ: Microsoft.VisualStudio.Text.ITrackingSpanDer Textabschnitt, der dem Popupfenster.
style
Typ: Microsoft.VisualStudio.Text.Adornments.PopupStylesDie Stiloptionen für die Anzeige des Popups Fensters.
content
Typ: UIElementDas im Popupfenster anzuzeigende Benutzeroberflächenelement.
Rückgabewert
Typ: Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent
ISpaceReservationAgent , das den Inhalt in einem Popupfenster anzeigt.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.