C# 클래스 ZForge.Controls.XPTable.Events.PaintCellEventArgs

Provides data for the PaintCell event
상속: PaintEventArgs
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 메소드들

메소드 설명
PaintCellEventArgs ( Graphics g, Cell cell, Table table, int row, int column, bool selected, bool focused, bool sorted, bool editable, bool enabled, Rectangle cellRect ) : System

Initializes a new instance of the PaintCellEventArgs class with the specified graphics, table, row index, column index, selected value, focused value, mouse value and clipping rectangle

PaintCellEventArgs ( Graphics g, Rectangle cellRect ) : System

Initializes a new instance of the PaintCellEventArgs class with the specified graphics and clipping rectangle

비공개 메소드들

메소드 설명
SetCell ( Cell cell ) : void

SetCellRect ( Rectangle cellRect ) : void

SetColumn ( int column ) : void

SetEditable ( bool editable ) : void

SetEnabled ( bool enabled ) : void

SetFocused ( bool focused ) : void

SetRow ( int row ) : void

SetSelected ( bool selected ) : void

SetSorted ( bool sorted ) : void

SetTable ( Table table ) : void

메소드 상세

PaintCellEventArgs() 공개 메소드

Initializes a new instance of the PaintCellEventArgs class with the specified graphics, table, row index, column index, selected value, focused value, mouse value and clipping rectangle
public PaintCellEventArgs ( Graphics g, Cell cell, Table table, int row, int column, bool selected, bool focused, bool sorted, bool editable, bool enabled, Rectangle cellRect ) : System
g System.Drawing.Graphics The Graphics used to paint the Cell
cell ZForge.Controls.XPTable.Models.Cell The Cell to be painted
table ZForge.Controls.XPTable.Models.Table The Table the Cell belongs to
row int The Row index of the Cell
column int The Column index of the Cell
selected bool Specifies whether the Cell is selected
focused bool Specifies whether the Cell has focus
sorted bool Specifies whether the Cell's Column is sorted
editable bool Specifies whether the Cell is able to be edited
enabled bool Specifies whether the Cell is enabled
cellRect System.Drawing.Rectangle The rectangle in which to paint the Cell
리턴 System

PaintCellEventArgs() 공개 메소드

Initializes a new instance of the PaintCellEventArgs class with the specified graphics and clipping rectangle
public PaintCellEventArgs ( Graphics g, Rectangle cellRect ) : System
g System.Drawing.Graphics The Graphics used to paint the Cell
cellRect System.Drawing.Rectangle The Rectangle that represents the rectangle /// in which to paint
리턴 System