Share via


IGlyphMouseProcessorProvider.GetAssociatedMouseProcessor Method

Creates an IMouseProcessor for the glyph margin, given a IWpfTextViewHost and a ITextBuffer.

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

Syntax

'Déclaration
Function GetAssociatedMouseProcessor ( _
    wpfTextViewHost As IWpfTextViewHost, _
    margin As IWpfTextViewMargin _
) As IMouseProcessor
IMouseProcessor GetAssociatedMouseProcessor(
    IWpfTextViewHost wpfTextViewHost,
    IWpfTextViewMargin margin
)
IMouseProcessor^ GetAssociatedMouseProcessor(
    IWpfTextViewHost^ wpfTextViewHost, 
    IWpfTextViewMargin^ margin
)
abstract GetAssociatedMouseProcessor : 
        wpfTextViewHost:IWpfTextViewHost * 
        margin:IWpfTextViewMargin -> IMouseProcessor 
function GetAssociatedMouseProcessor(
    wpfTextViewHost : IWpfTextViewHost, 
    margin : IWpfTextViewMargin
) : IMouseProcessor

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.IMouseProcessor
The IMouseProcessor for the glyph margin. The value may be nulla null reference (Nothing in Visual Basic) if this IGlyphMouseProcessorProvider does not participate.

.NET Framework Security

See Also

Reference

IGlyphMouseProcessorProvider Interface

Microsoft.VisualStudio.Text.Editor Namespace