C# 클래스 DSShared.Lists.CustomList

A custom list view control allowing you to specify a list of columns that retrieve their row information via reflection
상속: System.Windows.Forms.Control
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools

보호된 프로퍼티들

프로퍼티 타입 설명
clicked ObjRow
selected ObjRow

Private Properties

프로퍼티 타입 설명
loading void
mouseOverRows void
rowClicked void
saving void
scroll void

공개 메소드들

메소드 설명
AddColumn ( CustomListColumn column ) : void

Adds a column to the collection

AddItem ( ObjRow row ) : void

Adds an ObjRow to the collection

AddItem ( object o ) : void

Adds an item to the collection. Creates an ObjRow and calls AddItem(ObjRow row)

Clear ( ) : void

Clears all ObjRows from the internal collection.

CustomList ( ) : System

Initializes a new instance of the T:CustomList class.

DeleteRow ( ObjRow row ) : void

Deletes the row.

GetColumn ( string name ) : CustomListColumn

Gets a column by the specified title

보호된 메소드들

메소드 설명
OnKeyDown ( KeyEventArgs e ) : void

Raises the event.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the event.

OnKeyUp ( KeyEventArgs e ) : void

Raises the event.

OnLostFocus ( EventArgs e ) : void

Raises the event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the event.

OnMouseMove ( MouseEventArgs e ) : void

Raises the event.

OnMouseUp ( MouseEventArgs e ) : void

Raises the event.

OnPaint ( PaintEventArgs e ) : void

Raises the event.

OnResize ( EventArgs e ) : void

Raises the event.

비공개 메소드들

메소드 설명
loading ( object sender, RegistrySaveLoadEventArgs e ) : void
mouseOverRows ( int mouseY, CustomListColumn overCol ) : void
rowClicked ( object sender, MouseEventArgs e ) : void
saving ( object sender, RegistrySaveLoadEventArgs e ) : void
scroll ( object sender, ScrollEventArgs e ) : void

메소드 상세

AddColumn() 공개 메소드

Adds a column to the collection
public AddColumn ( CustomListColumn column ) : void
column CustomListColumn The column to add
리턴 void

AddItem() 공개 메소드

Adds an ObjRow to the collection
public AddItem ( ObjRow row ) : void
row ObjRow The row to add
리턴 void

AddItem() 공개 메소드

Adds an item to the collection. Creates an ObjRow and calls AddItem(ObjRow row)
public AddItem ( object o ) : void
o object The item to add
리턴 void

Clear() 공개 메소드

Clears all ObjRows from the internal collection.
public Clear ( ) : void
리턴 void

CustomList() 공개 메소드

Initializes a new instance of the T:CustomList class.
public CustomList ( ) : System
리턴 System

DeleteRow() 공개 메소드

Deletes the row.
public DeleteRow ( ObjRow row ) : void
row ObjRow The row to delete.
리턴 void

GetColumn() 공개 메소드

Gets a column by the specified title
public GetColumn ( string name ) : CustomListColumn
name string The name of the column to get
리턴 CustomListColumn

OnKeyDown() 보호된 메소드

Raises the event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A that contains the event data.
리턴 void

OnKeyPress() 보호된 메소드

Raises the event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A that contains the event data.
리턴 void

OnKeyUp() 보호된 메소드

Raises the event.
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A that contains the event data.
리턴 void

OnLostFocus() 보호된 메소드

Raises the event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

OnMouseDown() 보호된 메소드

Raises the event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseMove() 보호된 메소드

Raises the event.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnMouseUp() 보호된 메소드

Raises the event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A that contains the event data.
리턴 void

OnPaint() 보호된 메소드

Raises the event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
리턴 void

OnResize() 보호된 메소드

Raises the event.
protected OnResize ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void

프로퍼티 상세

clicked 보호되어 있는 프로퍼티

The last ObjRow clicked on
protected ObjRow,DSShared.Lists clicked
리턴 ObjRow

selected 보호되어 있는 프로퍼티

The currently selected ObjRow
protected ObjRow,DSShared.Lists selected
리턴 ObjRow