为给定文本视图创建 WPF 鼠标处理器。
命名空间: Microsoft.VisualStudio.Text.Editor
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Public Interface IMouseProcessorProvider
public interface IMouseProcessorProvider
public interface class IMouseProcessorProvider
type IMouseProcessorProvider = interface end
public interface IMouseProcessorProvider
IMouseProcessorProvider 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
GetAssociatedProcessor | 为 IWpfTextView 创建 IMouseProcessor。 |
页首
备注
这是 MEF 组件部件,应通过以下属性:
[Export(typeof(IMouseProcessorProvider))]
[ContentType("SomeContentType")]