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

A base class for drawing Cells contents as numbers
Наследование: CellRenderer
Показать файл Открыть проект

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

Метод Описание
NumberCellRenderer ( ) : System

Initializes a new instance of the NumberCellRenderer class with default settings

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

Защищенные методы

Метод Описание
CalcButtonBounds ( ) : Rectangle

Returns a Rectangle that specifies the size and location of the up and down buttons

GetDownButtonBounds ( ) : Rectangle

Returns a Rectangle that specifies the size and location of the down button

GetNumberRendererData ( Cell cell ) : NumberRendererData

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

GetUpButtonBounds ( ) : Rectangle

Returns a Rectangle that specifies the size and location of the up button

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintCellEventArgs e ) : void

Raises the PaintBackground event

Приватные методы

Метод Описание
TableUsingNumericCellEditor ( Table table, CellPos cellPos ) : bool

Gets whether the specified Table is using a NumericCellEditor to edit the Cell at the specified CellPos

Описание методов

CalcButtonBounds() защищенный Метод

Returns a Rectangle that specifies the size and location of the up and down buttons
protected CalcButtonBounds ( ) : Rectangle
Результат System.Drawing.Rectangle

GetDownButtonBounds() защищенный Метод

Returns a Rectangle that specifies the size and location of the down button
protected GetDownButtonBounds ( ) : Rectangle
Результат System.Drawing.Rectangle

GetNumberRendererData() защищенный Метод

Gets the NumberRendererData specific data used by the Renderer from the specified Cell
protected GetNumberRendererData ( Cell cell ) : NumberRendererData
cell ZForge.Controls.XPTable.Models.Cell The Cell to get the NumberRendererData data for
Результат NumberRendererData

GetUpButtonBounds() защищенный Метод

Returns a Rectangle that specifies the size and location of the up button
protected GetUpButtonBounds ( ) : Rectangle
Результат System.Drawing.Rectangle

NumberCellRenderer() публичный Метод

Initializes a new instance of the NumberCellRenderer class with default settings
public NumberCellRenderer ( ) : System
Результат System

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

OnPaintBackground() защищенный Метод

Raises the PaintBackground event
protected OnPaintBackground ( 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