定义一个 IntelliSense 呈现器,它在 ITextView 中呈现为弹出菜单。
命名空间: Microsoft.VisualStudio.Language.Intellisense
程序集: Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)
语法
声明
Public Interface IPopupIntellisensePresenter _
Inherits IIntellisensePresenter
public interface IPopupIntellisensePresenter : IIntellisensePresenter
public interface class IPopupIntellisensePresenter : IIntellisensePresenter
type IPopupIntellisensePresenter =
interface
interface IIntellisensePresenter
end
public interface IPopupIntellisensePresenter extends IIntellisensePresenter
IPopupIntellisensePresenter 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Opacity | 获取或设置弹出呈现器的不透明度。 |
![]() |
PopupStyles | 获取用于确定弹出样式的一组标志。 |
![]() |
PresentationSpan | 获取此呈现器的相关 ITrackingSpan。 |
![]() |
Session | 获取呈现器将呈现的会话。 (继承自 IIntellisensePresenter。) |
![]() |
SpaceReservationManagerName | 获取应用来为此呈现器创建弹出菜单的空间保留管理器的名称。 |
![]() |
SurfaceElement | 获取此呈现器要在 ITextView 弹出菜单内显示的 WPF UIElement。 |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
PopupStylesChanged | 当 PopupStyles 属性更改时发生。 |
![]() |
PresentationSpanChanged | 当 PresentationSpan 属性更改时发生。 |
![]() |
SurfaceElementChanged | ,当 WPF 曲面元更改,发生。 |
页首