C# Класс ZForge.Controls.XPTable.Renderers.CheckBoxCellRenderer

A CellRenderer that draws Cell contents as CheckBoxes
Наследование: CellRenderer
Показать файл Открыть проект

Открытые методы

Метод Описание
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