public Update ( |
||
element | ||
return | void |
public void Update(BooleanElement element){
_element = element;
if (_switch==null)
prepareCell();
TextLabel.BackgroundColor = UIColor.Clear;
TextLabel.Text = _element.Caption;
_switch.On = _element.Value;
}