CustomCellOnConfigureCell Method |
Configures an existing cell when it is reused for a different row or the data changes.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax protected virtual void OnConfigureCell(
CellEventArgs args,
Control control
)
Protected Overridable Sub OnConfigureCell (
args As CellEventArgs,
control As Control
)
abstract OnConfigureCell :
args : CellEventArgs *
control : Control -> unit
override OnConfigureCell :
args : CellEventArgs *
control : Control -> unit
Parameters
- args
- Type: Eto.FormsCellEventArgs
Arguments for the cell - control
- Type: Eto.FormsControl
Existing control to configure for the new cell and/or data
Remarks
This should set up your control your cell content to be reused. If null, the DataContext of your control will be set to the row model instance.
Typically if you use MVVM data binding, you do not need to override the standard behaviour.
See Also