C# 클래스 ZForge.Controls.XPTable.Models.RowCollection

Represents a collection of Row objects
상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Row row ) : int

Adds the specified Row to the end of the collection

AddRange ( Row rows ) : void

Adds an array of Row objects to the collection

Clear ( ) : void

Removes all Rows from the collection

IndexOf ( Row row ) : int

Returns the index of the specified Row in the model

Insert ( int index, Row row ) : void

Inserts a Row into the collection at the specified index

InsertRange ( int index, Row rows ) : void

Inserts an array of Rows into the collection at the specified index

Remove ( Row row ) : void

Removes the specified Row from the model

RemoveAt ( int index ) : void

Removes the Row at the specified index from the collection

RemoveRange ( Row rows ) : void

Removes an array of Row objects from the collection

RowCollection ( Row owner ) : System

Initializes a new instance of the RowCollection class that belongs to the specified Row

RowCollection ( TableModel owner ) : System

Initializes a new instance of the RowCollection class that belongs to the specified TableModel

this ( int index ) : Row

Gets the Row at the specified index

보호된 메소드들

메소드 설명
OnRowAdded ( RowEventArgs e ) : void

Raises the RowAdded event

OnRowAdded ( TableModelEventArgs e ) : void

Raises the RowAdded event

OnRowRemoved ( RowEventArgs e ) : void

Raises the RowRemoved event

OnRowRemoved ( TableModelEventArgs e ) : void

Raises the RowRemoved event

비공개 메소드들

메소드 설명
SetRow ( int index, Row row ) : void

Replaces the Row at the specified index to the specified Row

메소드 상세

Add() 공개 메소드

Adds the specified Row to the end of the collection
public Add ( Row row ) : int
row Row The Row to add
리턴 int

AddRange() 공개 메소드

Adds an array of Row objects to the collection
public AddRange ( Row rows ) : void
rows Row An array of Row objects to add /// to the collection
리턴 void

Clear() 공개 메소드

Removes all Rows from the collection
public Clear ( ) : void
리턴 void

IndexOf() 공개 메소드

Returns the index of the specified Row in the model
public IndexOf ( Row row ) : int
row Row The Row to look for
리턴 int

Insert() 공개 메소드

Inserts a Row into the collection at the specified index
public Insert ( int index, Row row ) : void
index int The zero-based index at which the Row /// should be inserted
row Row The Row to insert
리턴 void

InsertRange() 공개 메소드

Inserts an array of Rows into the collection at the specified index
public InsertRange ( int index, Row rows ) : void
index int The zero-based index at which the rows /// should be inserted
rows Row The array of Rows to be inserted into /// the collection
리턴 void

OnRowAdded() 보호된 메소드

Raises the RowAdded event
protected OnRowAdded ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs A TableModelEventArgs that contains the event data
리턴 void

OnRowAdded() 보호된 메소드

Raises the RowAdded event
protected OnRowAdded ( TableModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.TableModelEventArgs A TableModelEventArgs that contains the event data
리턴 void

OnRowRemoved() 보호된 메소드

Raises the RowRemoved event
protected OnRowRemoved ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs A TableModelEventArgs that contains the event data
리턴 void

OnRowRemoved() 보호된 메소드

Raises the RowRemoved event
protected OnRowRemoved ( TableModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.TableModelEventArgs A TableModelEventArgs that contains the event data
리턴 void

Remove() 공개 메소드

Removes the specified Row from the model
public Remove ( Row row ) : void
row Row The Row to remove
리턴 void

RemoveAt() 공개 메소드

Removes the Row at the specified index from the collection
public RemoveAt ( int index ) : void
index int The index of the Row to remove
리턴 void

RemoveRange() 공개 메소드

Removes an array of Row objects from the collection
public RemoveRange ( Row rows ) : void
rows Row An array of Row objects to remove /// from the collection
리턴 void

RowCollection() 공개 메소드

Initializes a new instance of the RowCollection class that belongs to the specified Row
public RowCollection ( Row owner ) : System
owner Row
리턴 System

RowCollection() 공개 메소드

Initializes a new instance of the RowCollection class that belongs to the specified TableModel
public RowCollection ( TableModel owner ) : System
owner TableModel A TableModel representing the tableModel that owns /// the RowCollection
리턴 System

this() 공개 메소드

Gets the Row at the specified index
public this ( int index ) : Row
index int
리턴 Row