C# Class AtelierElieScripter.Lib.CustListView

Description of CustListView.
Inheritance: System.Windows.Forms.ListView
Exibir arquivo Open project: Markliujy/AtelierElieTranslation

Public Methods

Method Description
BufferUpdate ( ) : void

Updates current items and headers according to buffer and active columns

BufferUpdateSortedRow ( int index, int sortedIndex ) : void

Updated sorted row only

BufferUseCurrentHeaders ( ) : void

showHideColumns: Copy current headers into buffer and create context menu Also reset active columns

CustListView ( ) : System
ShowHideColumn ( int i ) : void

showHideColumns: Toggle columns function

ShowHideColumn ( int i, bool refresh ) : void

Protected Methods

Method Description
WndProc ( Message &message ) : void

Auto resize last column to fit

Private Methods

Method Description
BufferContextMenuClick ( object sender, EventArgs e ) : void

showHideColumns: Toggle columns event

SortableColumnClick ( object sender, System.Windows.Forms.ColumnClickEventArgs e ) : void

Method Details

BufferUpdate() public method

Updates current items and headers according to buffer and active columns
public BufferUpdate ( ) : void
return void

BufferUpdateSortedRow() public method

Updated sorted row only
public BufferUpdateSortedRow ( int index, int sortedIndex ) : void
index int Actual index in buffer
sortedIndex int Current sorted index
return void

BufferUseCurrentHeaders() public method

showHideColumns: Copy current headers into buffer and create context menu Also reset active columns
public BufferUseCurrentHeaders ( ) : void
return void

CustListView() public method

public CustListView ( ) : System
return System

ShowHideColumn() public method

showHideColumns: Toggle columns function
public ShowHideColumn ( int i ) : void
i int Column ID
return void

ShowHideColumn() public method

public ShowHideColumn ( int i, bool refresh ) : void
i int
refresh bool
return void

WndProc() protected method

Auto resize last column to fit
protected WndProc ( Message &message ) : void
message Message
return void