C# Class Microsoft.VisualStudio.Extensions.StructureMargin.StructureMargin

Implementation of a margin that show the structure of a code file.
Inheritance: IWpfTextViewMargin, IOverviewTipFactory
Datei anzeigen Open project: rally25rs/OverviewMargin2012

Public Methods

Method Description
Dispose ( ) : void
GetTextViewMargin ( string marginName ) : ITextViewMargin
StructureMargin ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, StructureMarginFactory factory ) : System

Constructor for the StructureMargin.

UpdateTip ( IOverviewMargin margin, System.Windows.Input.MouseEventArgs e, System.Windows.Controls.ToolTip tip ) : bool

Private Methods

Method Description
ThrowIfDisposed ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetTextViewMargin() public method

public GetTextViewMargin ( string marginName ) : ITextViewMargin
marginName string
return ITextViewMargin

StructureMargin() public method

Constructor for the StructureMargin.
public StructureMargin ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, StructureMarginFactory factory ) : System
textViewHost IWpfTextViewHost The IWpfTextViewHost in which this margin will be displayed.
scrollBar IVerticalScrollBar
factory StructureMarginFactory
return System

UpdateTip() public method

public UpdateTip ( IOverviewMargin margin, System.Windows.Input.MouseEventArgs e, System.Windows.Controls.ToolTip tip ) : bool
margin IOverviewMargin
e System.Windows.Input.MouseEventArgs
tip System.Windows.Controls.ToolTip
return bool