共用方式為


IMouseProcessorProvider Interface

Creates a WPF mouse processor for a given text view.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣告
Public Interface IMouseProcessorProvider
public interface IMouseProcessorProvider
public interface class IMouseProcessorProvider
type IMouseProcessorProvider =  interface end
public interface IMouseProcessorProvider

The IMouseProcessorProvider type exposes the following members.

Methods

  Name Description
Public method GetAssociatedProcessor Creates an IMouseProcessor for a IWpfTextView.

Top

Remarks

This is a MEF component part, and should be exported with the following attributes:

[Export(typeof(IMouseProcessorProvider))] 
[ContentType("SomeContentType")]

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace