コード例 #1
0
ファイル: CellHandler.cs プロジェクト: daddycoding/Eto
 public Font GetFont(NSCell cell)
 {
     return(cell.TextLabel.Font.ToEto());
 }
コード例 #2
0
ファイル: CellHandler.cs プロジェクト: daddycoding/Eto
 public void SetFont(NSCell cell, Font font)
 {
     cell.TextLabel.Font = font.ToUI();
 }
コード例 #3
0
ファイル: CellHandler.cs プロジェクト: daddycoding/Eto
 public void SetForegroundColor(NSCell cell, Color color)
 {
     cell.TextLabel.TextColor = color.ToNSUI();
 }
コード例 #4
0
ファイル: CellHandler.cs プロジェクト: daddycoding/Eto
 public Color GetForegroundColor(NSCell cell)
 {
     return(cell.TextLabel.TextColor.ToEto());
 }
コード例 #5
0
ファイル: CellHandler.cs プロジェクト: daddycoding/Eto
 public Color GetBackgroundColor(NSCell cell)
 {
     return(cell.BackgroundColor.ToEto());
 }
コード例 #6
0
ファイル: CellHandler.cs プロジェクト: daddycoding/Eto
 public void SetBackgroundColor(NSCell cell, Color color)
 {
     cell.BackgroundColor = color.ToNSUI();
 }
コード例 #7
0
ファイル: GridViewHandler.cs プロジェクト: daddycoding/Eto
 public IosCellFormatArgs(GridColumn column, object item, int row, NSCell cell)
     : base(column, item, row)
 {
     this.Cell = cell;
 }
コード例 #8
0
ファイル: GridViewHandler.cs プロジェクト: daddycoding/Eto
 public void OnCellFormatting(GridColumn column, object item, int row, NSCell cell)
 {
     Callback.OnCellFormatting(Widget, new IosCellFormatArgs(column, item, row, cell));
 }
コード例 #9
0
 protected override void BindCell(MonoTouch.UIKit.UITableViewCell cell, object item, MonoTouch.Foundation.NSIndexPath indexPath)
 {
     (cell as InvoiceLineCell).Line = item as InvoiceLine;
 }