ReoGrid provides numerous cell types for display in spreadsheets. By utilizing cell types, various input and output functionalities can be achieved within worksheets. Additionally, creating custom extended cell types is straightforward.
Built-in Cell Types
ReoGrid offers the following cell types:










For the full API reference for each type, see Built-in Cell Types.
Selection and Input Types
| Type | Description | Details |
|---|---|---|
DropdownListCell | Drop-down list for single item selection | Dropdown List Cell |
ComboListCell | Editable combo box with auto-completion | Combo List Cell |
CheckBoxCell | Check box (toggles true/false) | Built-in Cell Types |
RadioButtonCell | Radio button (mutual exclusion) | Built-in Cell Types |
DatePickerCell | Date picker with calendar (WinForms only) | Built-in Cell Types |
Display Types
| Type | Description | Details |
|---|---|---|
ButtonCell | Clickable button | Built-in Cell Types |
HyperlinkCell | Clickable hyperlink | Built-in Cell Types |
ImageCell | Displays an image | Built-in Cell Types |
ImageButtonCell | Image on a button | Built-in Cell Types |
ProgressCell | Progress bar (0โ1) | Built-in Cell Types |
NegativeProgressCell | Positive/negative progress bar | Built-in Cell Types |
Custom Cell Types
ReoGrid provides the ICellBody interface and CellBody base class for creating custom cell types. Override rendering, mouse, keyboard, and editing methods to create any cell behavior you need.
For the complete API reference and examples, see Custom Cell Types.
Quick Example
class StatusCell : CellBody
{
public override void OnPaint(CellDrawingContext dc)
{
dc.DrawCellBackground();
var bounds = GetBodyBounds();
var color = Cell?.Data is "OK" ? SolidColor.Green : SolidColor.Red;
dc.Graphics.FillRectangle(
new Rectangle(bounds.X + 2, bounds.Y + 2, 12, bounds.Height - 4), color);
dc.DrawCellText();
}
}
sheet.Cells["A1"].Body = new StatusCell();
sheet["A1"] = "OK";
Class Hierarchy
ICellBody
interface
CellBody
base class
ContentCellBody
CheckBoxCell, RadioButtonCell
ButtonCell
ImageButtonCell
DropdownCell
DropdownListCell, ComboListCell, DatePickerCell
ProgressCell
NegativeProgressCell
HyperlinkCell
ImageCell