Click or drag to resize

PropertyCellTypeOnCreate Method

Creates the content control for the cell.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public abstract Control OnCreate(
	CellEventArgs args
)

Parameters

args
Type: Eto.FormsCellEventArgs
Cell arguments.

Return Value

Type: Control

[Missing <returns> documentation for "M:Eto.Forms.PropertyCellType.OnCreate(Eto.Forms.CellEventArgs)"]

Remarks
The control returned may be reused for other cells, so it is ideal to use MVVM data binding using BindDataContext() methods of your controls. This should return the same control for each row, otherwise the incorrect control may be shown on certain cells.
See Also