void OnValueChanged(BaseCheckboxCell cell, bool enabled) { variableInfo.fieldInfo.SetValue(command, enabled); base.OnValueChanged(); }
public override void UpdateData(ScrollViewCell cell) { _checkboxCell = (BaseCheckboxCell)cell; _checkboxCell.OnValueChanged = OnValueChanged; _checkboxCell.SetToggle((bool)variableInfo.fieldInfo.GetValue(command)); }