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

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

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

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

Initializes a new instance of the DateTimeCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

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

Метод Описание
DrawText ( System.DateTime dateTime, Graphics g, Brush brush, Rectangle textRect ) : void

Draws the DateTime text

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

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

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

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

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

Draws the DateTime text
protected DrawText ( System.DateTime dateTime, Graphics g, Brush brush, Rectangle textRect ) : void
dateTime System.DateTime The DateTime value to be drawn
g System.Drawing.Graphics The Graphics to draw on
brush System.Drawing.Brush The Brush to draw the text with
textRect System.Drawing.Rectangle A Rectangle that specifies the bounds of the text
Результат 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