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

Base class for Renderers that draw Cells
Наследование: Renderer, ICellRenderer
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Releases the unmanaged resources used by the Renderer and optionally releases the managed resources

GetCellHeight ( Graphics graphics, Cell cell ) : int

Returns the height that is required to render this cell. If zero is returned then the default row height is used.

OnClick ( CellMouseEventArgs e ) : void

Raises the Click event

OnDoubleClick ( CellMouseEventArgs e ) : void

Raises the DoubleClick event

OnGotFocus ( CellFocusEventArgs e ) : void

Raises the GotFocus event

OnKeyDown ( CellKeyEventArgs e ) : void

Raises the KeyDown event

OnKeyUp ( CellKeyEventArgs e ) : void

Raises the KeyUp event

OnLostFocus ( CellFocusEventArgs e ) : void

Raises the LostFocus event

OnMouseDown ( CellMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseEnter ( CellMouseEventArgs e ) : void

Raises the MouseEnter event

OnMouseLeave ( CellMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( CellMouseEventArgs e ) : void

Raises the MouseMove event

OnMouseUp ( CellMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

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

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

Initializes a new instance of the CellRenderer class with default settings

GetRendererData ( Cell cell ) : object

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

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintCellEventArgs e ) : void

Raises the PaintBackground event

OnPaintBorder ( PaintCellEventArgs e, Pen pen ) : void

Raises the PaintBorder event

SetRendererData ( Cell cell, object value ) : void

Sets the specified renderer specific data used by the Renderer for the specified Cell

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

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

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

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

Releases the unmanaged resources used by the Renderer and optionally releases the managed resources
public Dispose ( ) : void
Результат void

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

Returns the height that is required to render this cell. If zero is returned then the default row height is used.
public GetCellHeight ( Graphics graphics, Cell cell ) : int
graphics System.Drawing.Graphics The GDI+ drawing surface provided by the Paint event.
cell ZForge.Controls.XPTable.Models.Cell
Результат int

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

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

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

Raises the Click event
public OnClick ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
Результат void

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

Raises the DoubleClick event
public OnDoubleClick ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
Результат void

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

Raises the GotFocus event
public OnGotFocus ( CellFocusEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellFocusEventArgs A CellFocusEventArgs that contains the event data
Результат void

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

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

Raises the LostFocus event
public OnLostFocus ( CellFocusEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellFocusEventArgs A CellFocusEventArgs 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

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

Raises the MouseEnter event
public OnMouseEnter ( 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 ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs 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

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

Raises the PaintBorder event
protected OnPaintBorder ( PaintCellEventArgs e, Pen pen ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
pen System.Drawing.Pen The pen used to draw the border
Результат 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

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

Sets the specified renderer specific data used by the Renderer for the specified Cell
protected SetRendererData ( Cell cell, object value ) : void
cell ZForge.Controls.XPTable.Models.Cell The Cell for which the data is to be stored
value object The renderer specific data to be stored
Результат void