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

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

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

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

Initializes a new instance of the ColorCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

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

Метод Описание
CalcColorRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle

Returns a Rectangle that specifies the size and location of the Color rectangle

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

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

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

Returns a Rectangle that specifies the size and location of the Color rectangle
protected CalcColorRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle
rowAlignment RowAlignment The alignment of the Cells Row
columnAlignment ColumnAlignment The alignment of the Cells Column
Результат System.Drawing.Rectangle

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

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

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