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
'Declaration
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
wpfTextViewHost
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextViewHostThe IWpfTextViewHost associated with the glyph margin.
margin
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextViewMarginThe IWpfTextViewMargin.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.