C# Class System.Windows.Forms.TableView

Simple implementation of DataGridView.
Inheritance: Control
Show file Open project: Meragon/Unity-WinForms Class Usage Examples

Public Properties

Property Type Description
ColumnsDefaultWidth int

Private Properties

Property Type Description
AlignColumns void
AlignRows void
CreateTopLeftButton void
HScroll_ValueChanged void
RaiseOnRowClick void
ResetHOffset void
ResetVOffset void
UpdateColumn void
UpdateColumns void
UpdateRow void
UpdateRows void
UpdateScrolls void
VScroll_ValueChanged void

Public Methods

Method Description
HideColumnHeaders ( ) : void
HideRowHeaders ( ) : void
HideScrolls ( ) : void
Refresh ( ) : void
ShowColumnHeaders ( ) : void
ShowRowHeaders ( ) : void
ShowScrolls ( ) : void
Sort ( TableColumn column, ListSortDirection direction ) : void
TableView ( ) : System

Protected Methods

Method Description
OnLatePaint ( PaintEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintEditor ( float width ) : object
OnResize ( Point delta ) : void

Private Methods

Method Description
AlignColumns ( ) : void
AlignRows ( ) : void
CreateTopLeftButton ( ) : void
HScroll_ValueChanged ( object sender, EventArgs e ) : void
RaiseOnRowClick ( TableRow row, MouseEventArgs mArgs ) : void
ResetHOffset ( ) : void
ResetVOffset ( ) : void
UpdateColumn ( TableColumn column ) : void
UpdateColumns ( ) : void
UpdateRow ( TableRow row ) : void
UpdateRows ( ) : void
UpdateScrolls ( ) : void
VScroll_ValueChanged ( object sender, EventArgs e ) : void

Method Details

HideColumnHeaders() public method

public HideColumnHeaders ( ) : void
return void

HideRowHeaders() public method

public HideRowHeaders ( ) : void
return void

HideScrolls() public method

public HideScrolls ( ) : void
return void

OnLatePaint() protected method

protected OnLatePaint ( PaintEventArgs e ) : void
e PaintEventArgs
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

OnPaintEditor() protected method

protected OnPaintEditor ( float width ) : object
width float
return object

OnResize() protected method

protected OnResize ( Point delta ) : void
delta Point
return void

Refresh() public method

public Refresh ( ) : void
return void

ShowColumnHeaders() public method

public ShowColumnHeaders ( ) : void
return void

ShowRowHeaders() public method

public ShowRowHeaders ( ) : void
return void

ShowScrolls() public method

public ShowScrolls ( ) : void
return void

Sort() public method

public Sort ( TableColumn column, ListSortDirection direction ) : void
column TableColumn
direction ListSortDirection
return void

TableView() public method

public TableView ( ) : System
return System

Property Details

ColumnsDefaultWidth public property

public int ColumnsDefaultWidth
return int