IGlyphMouseProcessorProvider.GetAssociatedMouseProcessor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an IMouseProcessor for the glyph margin, given a IWpfTextViewHost and a ITextBuffer.
public:
Microsoft::VisualStudio::Text::Editor::IMouseProcessor ^ GetAssociatedMouseProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextViewHost ^ wpfTextViewHost, Microsoft::VisualStudio::Text::Editor::IWpfTextViewMargin ^ margin);
public Microsoft.VisualStudio.Text.Editor.IMouseProcessor GetAssociatedMouseProcessor (Microsoft.VisualStudio.Text.Editor.IWpfTextViewHost wpfTextViewHost, Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin margin);
abstract member GetAssociatedMouseProcessor : Microsoft.VisualStudio.Text.Editor.IWpfTextViewHost * Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin -> Microsoft.VisualStudio.Text.Editor.IMouseProcessor
Public Function GetAssociatedMouseProcessor (wpfTextViewHost As IWpfTextViewHost, margin As IWpfTextViewMargin) As IMouseProcessor
Parameters
- wpfTextViewHost
- IWpfTextViewHost
The IWpfTextViewHost associated with the glyph margin.
- margin
- IWpfTextViewMargin
The IWpfTextViewMargin.
Returns
The IMouseProcessor for the glyph margin.
The value may be null if this IGlyphMouseProcessorProvider does not participate.