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

상속: IDisposable
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearSelection void
GetRenderedCellIndex int
GetState bool
Init void
OnCellPropertyChanged void
SetState void
ShouldSerializeBackColor bool
ShouldSerializeEditable bool
ShouldSerializeEnabled bool
ShouldSerializeFont bool
ShouldSerializeForeColor bool
UpdateCellIndicies void

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resources used by the Row

IsCellSelected ( int index ) : bool

Returns whether the Cell at the specified index is selected

Row ( ) : System

Initializes a new instance of the Row class with default settings

Row ( Cell cells ) : System

Initializes a new instance of the Row class with an array of Cell objects

Row ( Cell cells, Color foreColor, Color backColor, Font font ) : System

Initializes a new instance of the Row class with an array of Cell objects and the foreground color, background color, and font of the Row

Row ( Row parent ) : System

Initializes a new instance of the Row class with default settings and a parent row. The new row is a sub row

Row ( string items ) : System

Initializes a new instance of the Row class with an array of strings representing Cells

Row ( string items, Color foreColor, Color backColor, Font font ) : System

Initializes a new instance of the Row class with an array of strings representing Cells and the foreground color, background color, and font of the Row

보호된 메소드들

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

Raises the CellAdded event

OnCellRemoved ( RowEventArgs e ) : void

Raises the CellRemoved event

OnPropertyChanged ( RowEventArgs e ) : void

Raises the PropertyChanged event

OnSubRowAdded ( RowEventArgs e ) : void

Raises the SubRowAdded event

OnSubRowRemoved ( RowEventArgs e ) : void

Raises the SubRowRemoved event

비공개 메소드들

메소드 설명
ClearSelection ( ) : void

Removes the selected state from all the Cells within the Row

GetRenderedCellIndex ( int columnIndex ) : int

Returns the column that contains the cell that renders over the given column. This is only different if there is a colspan cell on this row, to the left of the given position.

GetState ( int flag ) : bool

Returns the state represented by the specified state flag

Init ( ) : void

Initialise default values

OnCellPropertyChanged ( CellEventArgs e ) : void

Raises the CellPropertyChanged event

SetState ( int flag, bool value ) : void

Sets the state represented by the specified state flag to the specified value

ShouldSerializeBackColor ( ) : bool

Specifies whether the BackColor property should be serialized at design time

ShouldSerializeEditable ( ) : bool

Specifies whether the Editable property should be serialized at design time

ShouldSerializeEnabled ( ) : bool

Specifies whether the Enabled property should be serialized at design time

ShouldSerializeFont ( ) : bool

Specifies whether the Font property should be serialized at design time

ShouldSerializeForeColor ( ) : bool

Specifies whether the ForeColor property should be serialized at design time

UpdateCellIndicies ( int start ) : void

Updates the Cell's Index property so that it matches the Cells position in the CellCollection

메소드 상세

Dispose() 공개 메소드

Releases all resources used by the Row
public Dispose ( ) : void
리턴 void

IsCellSelected() 공개 메소드

Returns whether the Cell at the specified index is selected
public IsCellSelected ( int index ) : bool
index int The index of the Cell in the Row's Row.CellCollection
리턴 bool

OnCellAdded() 보호된 메소드

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

OnCellRemoved() 보호된 메소드

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

OnPropertyChanged() 보호된 메소드

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

OnSubRowAdded() 보호된 메소드

Raises the SubRowAdded event
protected OnSubRowAdded ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs
리턴 void

OnSubRowRemoved() 보호된 메소드

Raises the SubRowRemoved event
protected OnSubRowRemoved ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs
리턴 void

Row() 공개 메소드

Initializes a new instance of the Row class with default settings
public Row ( ) : System
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class with an array of Cell objects
public Row ( Cell cells ) : System
cells Cell An array of Cell objects that represent the Cells of the Row
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class with an array of Cell objects and the foreground color, background color, and font of the Row
public Row ( Cell cells, Color foreColor, Color backColor, Font font ) : System
cells Cell An array of Cell objects that represent the Cells of the Row
foreColor Color The foreground Color of the Row
backColor Color The background Color of the Row
font Font The Font used to draw the text in the Row's Cells
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class with default settings and a parent row. The new row is a sub row
public Row ( Row parent ) : System
parent Row
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class with an array of strings representing Cells
public Row ( string items ) : System
items string An array of strings that represent the Cells of /// the Row
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class with an array of strings representing Cells and the foreground color, background color, and font of the Row
public Row ( string items, Color foreColor, Color backColor, Font font ) : System
items string An array of strings that represent the Cells of the Row
foreColor Color The foreground Color of the Row
backColor Color The background Color of the Row
font Font The Font used to draw the text in the Row's Cells
리턴 System