C# Class MetroFramework.Controls.MetroTabControl

Inheritance: System.Windows.Forms.TabControl, IMetroControl
Datei anzeigen Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Property Type Description
DrawTab void
DrawTabBottomBorder void
DrawTabSelected void
DrawUpDown void
FindUpDown void
GetTabRect System.Drawing.Rectangle
MeasureText System.Drawing.Size
OnFontChanged void
SendMessage System.IntPtr
UpdateUpDown void
WndProc void
scUpDown_SubClassedWndProc int

Public Methods

Method Description
MetroTabControl ( ) : System

Protected Methods

Method Description
OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void
OnCreateControl ( ) : void
OnCustomPaint ( MetroPaintEventArgs e ) : void
OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnPaintForeground ( PaintEventArgs e ) : void
OnParentBackColorChanged ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSelectedIndexChanged ( EventArgs e ) : void

Private Methods

Method Description
DrawTab ( int index, Graphics graphics ) : void
DrawTabBottomBorder ( int index, Graphics graphics ) : void
DrawTabSelected ( int index, Graphics graphics ) : void
DrawUpDown ( Graphics graphics ) : void
FindUpDown ( ) : void
GetTabRect ( int index ) : Rectangle
MeasureText ( string text ) : Size
OnFontChanged ( EventArgs e ) : void
SendMessage ( IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
UpdateUpDown ( ) : void
WndProc ( Message &m ) : void
scUpDown_SubClassedWndProc ( Message &m ) : int

Method Details

MetroTabControl() public method

public MetroTabControl ( ) : System
return System

OnControlAdded() protected method

protected OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs
return void

OnControlRemoved() protected method

protected OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs
return void

OnCreateControl() protected method

protected OnCreateControl ( ) : void
return void

OnCustomPaint() protected method

protected OnCustomPaint ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintBackground() protected method

protected OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintForeground() protected method

protected OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnEnabledChanged() protected method

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

OnMouseWheel() protected method

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

OnPaint() protected method

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

OnPaintBackground() protected method

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

OnPaintForeground() protected method

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

OnParentBackColorChanged() protected method

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

OnResize() protected method

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

OnSelectedIndexChanged() protected method

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