Click or drag to resize

CustomCell.GetPreferredWidth Property

Gets or sets a delegate to get the preferred width of the cell based on its content.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Func<CellEventArgs, float> GetPreferredWidth { get; set; }

Property Value

Type: Func<CellEventArgs, Single>
The delegate to get the preferred width of the cell.
Remarks
This may only be used when SupportsControlView is false.
See Also