C# Class System.Windows.Forms.CustomTabControl

Inheritance: TabControl
Show file Open project: troymac1ure/Entity Class Usage Examples

Private Properties

Property Type Description
AddPageBorder void
BackupTabPages void
CustomPaint void
DrawTabBorder void
DrawTabImage void
DrawTabPage void
DrawTabText void
GetStringFormat System.Drawing.StringFormat
GetTabImageRect System.Drawing.Rectangle
GetTabImageRect System.Drawing.Rectangle
GetTabPageBorder System.Drawing.Drawing2D.GraphicsPath
GetTabTextRect System.Drawing.Rectangle
IsValidTabIndex bool
OnParentResize void
ProcessMnemonic bool
StartDragDrop void
WndProc void

Public Methods

Method Description
CustomTabControl ( ) : System
GetPageBounds ( int index ) : Rectangle
GetTabCloserRect ( int index ) : Rectangle
GetTabPosition ( int index ) : Point
GetTabRow ( int index ) : int
HideTab ( TabPage page ) : void
HideTab ( int index ) : void
HideTab ( string key ) : void
IsFirstTabInRow ( int index ) : bool
ShowTab ( TabPage page ) : void
ShowTab ( int index ) : void
ShowTab ( string key ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void
OnCreateControl ( ) : void
OnDragDrop ( DragEventArgs drgevent ) : void
OnDragOver ( DragEventArgs drgevent ) : void
OnFontChanged ( EventArgs e ) : void
OnHScroll ( ScrollEventArgs e ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMove ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnParentBackColorChanged ( EventArgs e ) : void
OnParentBackgroundImageChanged ( EventArgs e ) : void
OnParentChanged ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSelectedIndexChanged ( EventArgs e ) : void
OnSelecting ( System.Windows.Forms.TabControlCancelEventArgs e ) : void
OnTabClosing ( System.Windows.Forms.TabControlCancelEventArgs e ) : void
OnTabImageClick ( System.Windows.Forms.TabControlEventArgs e ) : void
PaintTransparentBackground ( Graphics graphics, Rectangle clipRect ) : void

Private Methods

Method Description
AddPageBorder ( GraphicsPath path, Rectangle pageBounds, Rectangle tabBounds ) : void
BackupTabPages ( ) : void
CustomPaint ( Graphics screenGraphics ) : void
DrawTabBorder ( GraphicsPath path, int index, Graphics graphics ) : void
DrawTabImage ( int index, Graphics graphics ) : void
DrawTabPage ( int index, Graphics graphics ) : void
DrawTabText ( int index, Graphics graphics ) : void
GetStringFormat ( ) : StringFormat
GetTabImageRect ( GraphicsPath tabBorderPath ) : Rectangle
GetTabImageRect ( int index ) : Rectangle
GetTabPageBorder ( int index ) : GraphicsPath
GetTabTextRect ( int index ) : Rectangle
IsValidTabIndex ( int index ) : bool
OnParentResize ( object sender, EventArgs e ) : void
ProcessMnemonic ( char charCode ) : bool
StartDragDrop ( ) : void
WndProc ( Message &m ) : void

Method Details

CustomTabControl() public method

public CustomTabControl ( ) : System
return System

Dispose() protected method

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

GetPageBounds() public method

public GetPageBounds ( int index ) : Rectangle
index int
return System.Drawing.Rectangle

GetTabCloserRect() public method

public GetTabCloserRect ( int index ) : Rectangle
index int
return System.Drawing.Rectangle

GetTabPosition() public method

public GetTabPosition ( int index ) : Point
index int
return Point

GetTabRow() public method

public GetTabRow ( int index ) : int
index int
return int

HideTab() public method

public HideTab ( TabPage page ) : void
page TabPage
return void

HideTab() public method

public HideTab ( int index ) : void
index int
return void

HideTab() public method

public HideTab ( string key ) : void
key string
return void

IsFirstTabInRow() public method

public IsFirstTabInRow ( int index ) : bool
index int
return bool

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

OnDragDrop() protected method

protected OnDragDrop ( DragEventArgs drgevent ) : void
drgevent DragEventArgs
return void

OnDragOver() protected method

protected OnDragOver ( DragEventArgs drgevent ) : void
drgevent DragEventArgs
return void

OnFontChanged() protected method

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

OnHScroll() protected method

protected OnHScroll ( ScrollEventArgs e ) : void
e ScrollEventArgs
return void

OnMouseClick() protected method

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

OnMouseDown() protected method

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

OnMouseMove() protected method

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

OnMouseUp() protected method

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

OnMove() protected method

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

OnPaint() protected method

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

OnParentBackColorChanged() protected method

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

OnParentBackgroundImageChanged() protected method

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

OnParentChanged() protected method

protected OnParentChanged ( 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

OnSelecting() protected method

protected OnSelecting ( System.Windows.Forms.TabControlCancelEventArgs e ) : void
e System.Windows.Forms.TabControlCancelEventArgs
return void

OnTabClosing() protected method

protected OnTabClosing ( System.Windows.Forms.TabControlCancelEventArgs e ) : void
e System.Windows.Forms.TabControlCancelEventArgs
return void

OnTabImageClick() protected method

protected OnTabImageClick ( System.Windows.Forms.TabControlEventArgs e ) : void
e System.Windows.Forms.TabControlEventArgs
return void

PaintTransparentBackground() protected method

protected PaintTransparentBackground ( Graphics graphics, Rectangle clipRect ) : void
graphics System.Drawing.Graphics
clipRect System.Drawing.Rectangle
return void

ShowTab() public method

public ShowTab ( TabPage page ) : void
page TabPage
return void

ShowTab() public method

public ShowTab ( int index ) : void
index int
return void

ShowTab() public method

public ShowTab ( string key ) : void
key string
return void