C# Class WeifenLuo.WinFormsUI.Docking.VS2012LightDockPaneStrip

Inheritance: DockPaneStripBase
Exibir arquivo Open project: DanWBR/dwsim3

Private Properties

Property Type Description
CalculateDocumentTab bool
CalculateTabs void
CalculateTabs_Document void
CalculateTabs_ToolWindow void
Close_Click void
ContextMenuItem_Click void
DrawTab void
DrawTabStrip void
DrawTabStrip_Document void
DrawTabStrip_ToolWindow void
DrawTab_Document void
DrawTab_ToolWindow void
EnsureDocumentTabVisible bool
GetCloseButtonRect System.Drawing.Rectangle
GetMaxTabWidth int
GetMaxTabWidth_Document int
GetMaxTabWidth_ToolWindow int
GetOutline_Document System.Drawing.Drawing2D.GraphicsPath
GetOutline_ToolWindow System.Drawing.Drawing2D.GraphicsPath
GetTabOutline System.Drawing.Drawing2D.GraphicsPath
GetTabOutline_Document System.Drawing.Drawing2D.GraphicsPath
GetTabOutline_ToolWindow System.Drawing.Drawing2D.GraphicsPath
GetTabRectangle System.Drawing.Rectangle
GetTabRectangle_Document System.Drawing.Rectangle
GetTabRectangle_ToolWindow System.Drawing.Rectangle
LayoutButtons void
MeasureHeight_Document int
MeasureHeight_ToolWindow int
SetActiveClose bool
SetInertButtons void
SetMouseOverTab bool
TabCloseButtonHit void
WindowList_Click void

Public Methods

Method Description
GetOutline ( int index ) : GraphicsPath
VS2012LightDockPaneStrip ( DockPane pane ) : System

Protected Methods

Method Description
CreateTab ( IDockContent content ) : Tab
Dispose ( bool disposing ) : void
EnsureTabVisible ( IDockContent content ) : void
GetTabBounds ( Tab tab ) : Rectangle
HitTest ( Point ptMouse ) : int
MeasureHeight ( ) : int
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseHover ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnRefreshChanges ( ) : void
OnRightToLeftChanged ( EventArgs e ) : void

Private Methods

Method Description
CalculateDocumentTab ( Rectangle rectTabStrip, int &x, int index ) : bool
CalculateTabs ( ) : void
CalculateTabs_Document ( ) : void

Calculate which tabs are displayed and in what order.

CalculateTabs_ToolWindow ( ) : void
Close_Click ( object sender, EventArgs e ) : void
ContextMenuItem_Click ( object sender, EventArgs e ) : void
DrawTab ( Graphics g, TabVS2012Light tab, Rectangle rect ) : void
DrawTabStrip ( Graphics g ) : void
DrawTabStrip_Document ( Graphics g ) : void
DrawTabStrip_ToolWindow ( Graphics g ) : void
DrawTab_Document ( Graphics g, TabVS2012Light tab, Rectangle rect ) : void
DrawTab_ToolWindow ( Graphics g, TabVS2012Light tab, Rectangle rect ) : void
EnsureDocumentTabVisible ( IDockContent content, bool repaint ) : bool
GetCloseButtonRect ( Rectangle rectTab ) : Rectangle
GetMaxTabWidth ( int index ) : int
GetMaxTabWidth_Document ( int index ) : int
GetMaxTabWidth_ToolWindow ( int index ) : int
GetOutline_Document ( int index ) : GraphicsPath
GetOutline_ToolWindow ( int index ) : GraphicsPath
GetTabOutline ( Tab tab, bool rtlTransform, bool toScreen ) : GraphicsPath
GetTabOutline_Document ( Tab tab, bool rtlTransform, bool toScreen, bool full ) : GraphicsPath
GetTabOutline_ToolWindow ( Tab tab, bool rtlTransform, bool toScreen ) : GraphicsPath
GetTabRectangle ( int index ) : Rectangle
GetTabRectangle_Document ( int index ) : Rectangle
GetTabRectangle_ToolWindow ( int index ) : Rectangle
LayoutButtons ( ) : void
MeasureHeight_Document ( ) : int
MeasureHeight_ToolWindow ( ) : int
SetActiveClose ( Rectangle rectangle ) : bool
SetInertButtons ( ) : void
SetMouseOverTab ( IDockContent content ) : bool
TabCloseButtonHit ( int index ) : void
WindowList_Click ( object sender, EventArgs e ) : void

Method Details

CreateTab() protected method

protected CreateTab ( IDockContent content ) : Tab
content IDockContent
return Tab

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EnsureTabVisible() protected method

protected EnsureTabVisible ( IDockContent content ) : void
content IDockContent
return void

GetOutline() public method

public GetOutline ( int index ) : GraphicsPath
index int
return System.Drawing.Drawing2D.GraphicsPath

GetTabBounds() protected method

protected GetTabBounds ( Tab tab ) : Rectangle
tab Tab
return System.Drawing.Rectangle

HitTest() protected method

protected HitTest ( Point ptMouse ) : int
ptMouse Point
return int

MeasureHeight() protected method

protected MeasureHeight ( ) : int
return int

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
return void

OnMouseClick() protected method

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseHover() protected method

protected OnMouseHover ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnRefreshChanges() protected method

protected OnRefreshChanges ( ) : void
return void

OnRightToLeftChanged() protected method

protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs
return void

VS2012LightDockPaneStrip() public method

public VS2012LightDockPaneStrip ( DockPane pane ) : System
pane DockPane
return System