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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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