C# Class System.Windows.Forms.Theming.Default.TabControlPainter

Summary description for TabControl.
Show file Open project: runefs/Marvin

Public Methods

Method Description
Draw ( Graphics dc, Rectangle area, TabControl tab ) : void
GetDisplayRectangle ( System tab ) : Rectangle
GetLeftScrollRect ( System tab ) : Rectangle
GetRightScrollRect ( System tab ) : Rectangle
GetTabPanelRect ( System tab ) : Rectangle
HasHotElementStyles ( TabControl tabControl ) : bool
RowSpacing ( System tab ) : Size
TabControlPainter ( ) : System

Protected Methods

Method Description
DrawBackground ( Graphics dc, Rectangle area, TabControl tab ) : void
DrawScrollButton ( Graphics dc, Rectangle bounds, Rectangle clippingArea, ScrollButton button, PushButtonState state ) : void
DrawTab ( Graphics dc, System page, System tab, Rectangle bounds, bool is_selected ) : int

Private Methods

Method Description
GetButtonState ( PushButtonState state ) : ButtonState

Method Details

Draw() public method

public Draw ( Graphics dc, Rectangle area, TabControl tab ) : void
dc System.Drawing.Graphics
area System.Drawing.Rectangle
tab System.Windows.Forms.TabControl
return void

DrawBackground() protected method

protected DrawBackground ( Graphics dc, Rectangle area, TabControl tab ) : void
dc System.Drawing.Graphics
area System.Drawing.Rectangle
tab System.Windows.Forms.TabControl
return void

DrawScrollButton() protected method

protected DrawScrollButton ( Graphics dc, Rectangle bounds, Rectangle clippingArea, ScrollButton button, PushButtonState state ) : void
dc System.Drawing.Graphics
bounds System.Drawing.Rectangle
clippingArea System.Drawing.Rectangle
button ScrollButton
state PushButtonState
return void

DrawTab() protected method

protected DrawTab ( Graphics dc, System page, System tab, Rectangle bounds, bool is_selected ) : int
dc System.Drawing.Graphics
page System
tab System
bounds System.Drawing.Rectangle
is_selected bool
return int

GetDisplayRectangle() public method

public GetDisplayRectangle ( System tab ) : Rectangle
tab System
return System.Drawing.Rectangle

GetLeftScrollRect() public method

public GetLeftScrollRect ( System tab ) : Rectangle
tab System
return System.Drawing.Rectangle

GetRightScrollRect() public method

public GetRightScrollRect ( System tab ) : Rectangle
tab System
return System.Drawing.Rectangle

GetTabPanelRect() public method

public GetTabPanelRect ( System tab ) : Rectangle
tab System
return System.Drawing.Rectangle

HasHotElementStyles() public method

public HasHotElementStyles ( TabControl tabControl ) : bool
tabControl System.Windows.Forms.TabControl
return bool

RowSpacing() public method

public RowSpacing ( System tab ) : Size
tab System
return System.Drawing.Size

TabControlPainter() public method

public TabControlPainter ( ) : System
return System