Click or drag to resize

CustomCellOnGetPreferredWidth Method

Gets the preferred width of the cell based on its content.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
protected virtual float OnGetPreferredWidth(
	CellEventArgs args
)

Parameters

args
Type: Eto.FormsCellEventArgs
Arguments for the cell

Field Value

Type: Single
The preferred width of the cell.

Return Value

Type: Single

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

Remarks
This may only be used when SupportsControlView is false.
See Also