public Font GetFont(NSCell cell) { return(cell.TextLabel.Font.ToEto()); }
public void SetFont(NSCell cell, Font font) { cell.TextLabel.Font = font.ToUI(); }
public void SetForegroundColor(NSCell cell, Color color) { cell.TextLabel.TextColor = color.ToNSUI(); }
public Color GetForegroundColor(NSCell cell) { return(cell.TextLabel.TextColor.ToEto()); }
public Color GetBackgroundColor(NSCell cell) { return(cell.BackgroundColor.ToEto()); }
public void SetBackgroundColor(NSCell cell, Color color) { cell.BackgroundColor = color.ToNSUI(); }
public IosCellFormatArgs(GridColumn column, object item, int row, NSCell cell) : base(column, item, row) { this.Cell = cell; }
public void OnCellFormatting(GridColumn column, object item, int row, NSCell cell) { Callback.OnCellFormatting(Widget, new IosCellFormatArgs(column, item, row, cell)); }
protected override void BindCell(MonoTouch.UIKit.UITableViewCell cell, object item, MonoTouch.Foundation.NSIndexPath indexPath) { (cell as InvoiceLineCell).Line = item as InvoiceLine; }