CustomCellCallbackOnGetPreferredWidth 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 public float OnGetPreferredWidth(
CustomCell widget,
CellEventArgs args
)
Public Function OnGetPreferredWidth (
widget As CustomCell,
args As CellEventArgs
) As Single
abstract OnGetPreferredWidth :
widget : CustomCell *
args : CellEventArgs -> float32
override OnGetPreferredWidth :
widget : CustomCell *
args : CellEventArgs -> float32
Parameters
- widget
- Type: Eto.FormsCustomCell
[Missing <param name="widget"/> documentation for "M:Eto.Forms.CustomCell.Callback.OnGetPreferredWidth(Eto.Forms.CustomCell,Eto.Forms.CellEventArgs)"]
- args
- Type: Eto.FormsCellEventArgs
[Missing <param name="args"/> documentation for "M:Eto.Forms.CustomCell.Callback.OnGetPreferredWidth(Eto.Forms.CustomCell,Eto.Forms.CellEventArgs)"]
Return Value
Type:
Single[Missing <returns> documentation for "M:Eto.Forms.CustomCell.Callback.OnGetPreferredWidth(Eto.Forms.CustomCell,Eto.Forms.CellEventArgs)"]
Implements
CustomCellICallbackOnGetPreferredWidth(CustomCell, CellEventArgs)See Also