다음을 통해 공유


IGlyphMouseProcessorProvider.GetAssociatedMouseProcessor Method

Definition

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.

Returns

The IMouseProcessor for the glyph margin.
The value may be null if this IGlyphMouseProcessorProvider does not participate.

Applies to