IMouseProcessorProvider Interface
TOC
Collapse the table of content
Expand the table of content

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)

public interface IMouseProcessorProvider

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

[Export(typeof(IMouseProcessorProvider))] 
[ContentType("SomeContentType")]
[Name("SomeProvider")]
[TextViewRole(PredefinedTextViewRoles.Editable)]

See PredefinedTextViewRoles for the complete set of roles. See Editor Extension Points for an explanation of text view roles.

Return to top
Show:
© 2016 Microsoft