C# 클래스 ZForge.Controls.XPTable.Renderers.GroupCellRenderer

A CellRenderer that draws Cell contents as a collapse/expand icon.
상속: CellRenderer
파일 보기 프로젝트 열기: zhuangyy/Motion

Private Properties

프로퍼티 타입 설명
DrawBox void
DrawCross void
DrawEndLine2 void
DrawHalfLine1 void
DrawHalfLine2 void
DrawLine1 void
DrawLine2 void
DrawMinus void
IsLastRow bool
IsSubRow bool
ToggleState void

공개 메소드들

메소드 설명
GroupCellRenderer ( ) : System

Initializes a new instance of the GroupCellRenderer class with default settings

OnClick ( CellMouseEventArgs e ) : void

Fires the Click event.

OnDoubleClick ( CellMouseEventArgs e ) : void

Fires the DoubleClick event.

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the OnPaintCell event

보호된 메소드들

메소드 설명
CalcCheckRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle

Gets the Rectangle that specifies the Size and Location of the check box contained in the current Cell

GetGroupRendererData ( Cell cell ) : GroupRendererData

Gets the GroupRendererData specific data used by the Renderer from the specified Cell

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

비공개 메소드들

메소드 설명
DrawBox ( Graphics g, Pen p, Rectangle rect ) : void
DrawCross ( Graphics g, Pen p, Rectangle rect ) : void
DrawEndLine2 ( Graphics g, Pen p, Rectangle rect ) : void
DrawHalfLine1 ( Graphics g, Pen p, Rectangle rect ) : void

Draws a line on the RHS and joins it up to the RHS of the box

DrawHalfLine2 ( Graphics g, Pen p, Rectangle rect ) : void

Draw a line down the middle, up to the bottom of the box.

DrawLine1 ( Graphics g, Pen p, Rectangle rect ) : void

Draws a line on the RHS

DrawLine2 ( Graphics g, Pen p, Rectangle rect ) : void

Draws a line down the middle

DrawMinus ( Graphics g, Pen p, Rectangle rect ) : void
IsLastRow ( Cell cell ) : bool

Returns true if this cell is in the last subrow.

IsSubRow ( Cell cell ) : bool

Returns true if this cell is in a sub row.

ToggleState ( CellMouseEventArgs e ) : void

메소드 상세

CalcCheckRect() 보호된 메소드

Gets the Rectangle that specifies the Size and Location of the check box contained in the current Cell
protected CalcCheckRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle
rowAlignment RowAlignment
columnAlignment ColumnAlignment
리턴 System.Drawing.Rectangle

GetGroupRendererData() 보호된 메소드

Gets the GroupRendererData specific data used by the Renderer from the specified Cell
protected GetGroupRendererData ( Cell cell ) : GroupRendererData
cell ZForge.Controls.XPTable.Models.Cell The Cell to get the GroupRendererData data for
리턴 GroupRendererData

GroupCellRenderer() 공개 메소드

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

OnClick() 공개 메소드

Fires the Click event.
public OnClick ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs
리턴 void

OnDoubleClick() 공개 메소드

Fires the DoubleClick event.
public OnDoubleClick ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs
리턴 void

OnPaint() 보호된 메소드

Raises the Paint event
protected OnPaint ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs
리턴 void

OnPaintCell() 공개 메소드

Raises the OnPaintCell event
public OnPaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs
리턴 void