protected void UpdateBackground(Gtk.Container tableViewCell, Cell cell) { var bgColor = Color.White.ToGtkColor(); var element = cell.RealParent as VisualElement; if (element != null) { bgColor = element.BackgroundColor == Color.Default ? bgColor : element.BackgroundColor.ToGtkColor(); } UpdateBackgroundChild(cell, bgColor); tableViewCell.ModifyBg(Gtk.StateType.Normal, bgColor); }