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

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add ( Column column ) : int

Adds the specified Column to the end of the collection

AddRange ( Column columns ) : void

Adds an array of Column objects to the collection

Clear ( ) : void

Removes all Columns from the collection

ColumnCollection ( ColumnModel owner ) : System

Initializes a new instance of the ColumnModel.ColumnCollection class that belongs to the specified ColumnModel

IndexOf ( Column column ) : int

Returns the index of the specified Column in the model

Remove ( Column column ) : void

Removes the specified Column from the model

RemoveAt ( int index ) : void

Removes the Column at the specified index from the collection

RemoveRange ( Column columns ) : void

Removes an array of Column objects from the collection

this ( int index ) : Column

Gets the Column at the specified index

보호된 메소드들

메소드 설명
OnColumnAdded ( ColumnModelEventArgs e ) : void

Raises the ColumnAdded event

OnColumnRemoved ( ColumnModelEventArgs e ) : void

Raises the ColumnRemoved event

RecalcWidthCache ( ) : void

Recalculates the total combined width of all columns

메소드 상세

Add() 공개 메소드

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

AddRange() 공개 메소드

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

Clear() 공개 메소드

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

ColumnCollection() 공개 메소드

Initializes a new instance of the ColumnModel.ColumnCollection class that belongs to the specified ColumnModel
public ColumnCollection ( ColumnModel owner ) : System
owner ColumnModel A ColumnModel representing the columnModel that owns /// the Column collection
리턴 System

IndexOf() 공개 메소드

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

OnColumnAdded() 보호된 메소드

Raises the ColumnAdded event
protected OnColumnAdded ( ColumnModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnModelEventArgs A ColumnModelEventArgs that contains the event data
리턴 void

OnColumnRemoved() 보호된 메소드

Raises the ColumnRemoved event
protected OnColumnRemoved ( ColumnModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnModelEventArgs A ColumnModelEventArgs that contains the event data
리턴 void

RecalcWidthCache() 보호된 메소드

Recalculates the total combined width of all columns
protected RecalcWidthCache ( ) : void
리턴 void

Remove() 공개 메소드

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

RemoveAt() 공개 메소드

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

RemoveRange() 공개 메소드

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

this() 공개 메소드

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