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

A CellRenderer that draws Cell contents as CheckBoxes
상속: CellRenderer
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
CheckBoxCellRenderer ( ) : System

Initializes a new instance of the CheckBoxCellRenderer class with default settings

OnKeyDown ( CellKeyEventArgs e ) : void

Raises the KeyDown event

OnKeyUp ( CellKeyEventArgs e ) : void

Raises the KeyUp event

OnMouseDown ( CellMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseLeave ( CellMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( XPTable e ) : void

Raises the MouseMove event

OnMouseUp ( CellMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell 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

GetCheckBoxRendererData ( Cell cell ) : CheckBoxRendererData

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

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

비공개 메소드들

메소드 설명
ValidateCheckState ( Cell cell, CheckBoxRendererData rendererData ) : void

Corrects any differences between the check state of the specified Cell and the check state in its rendererData

메소드 상세

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

CheckBoxCellRenderer() 공개 메소드

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

GetCheckBoxRendererData() 보호된 메소드

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

OnKeyDown() 공개 메소드

Raises the KeyDown event
public OnKeyDown ( CellKeyEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellKeyEventArgs A CellKeyEventArgs that contains the event data
리턴 void

OnKeyUp() 공개 메소드

Raises the KeyUp event
public OnKeyUp ( CellKeyEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellKeyEventArgs A CellKeyEventArgs that contains the event data
리턴 void

OnMouseDown() 공개 메소드

Raises the MouseDown event
public OnMouseDown ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseLeave() 공개 메소드

Raises the MouseLeave event
public OnMouseLeave ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseMove() 공개 메소드

Raises the MouseMove event
public OnMouseMove ( XPTable e ) : void
e XPTable A CellMouseEventArgs that contains the event data
리턴 void

OnMouseUp() 공개 메소드

Raises the MouseUp event
public OnMouseUp ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

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

OnPaintCell() 공개 메소드

Raises the PaintCell event
public OnPaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void