Advertisement
EENielsen

TableView.cs

Jun 12th, 2014
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.77 KB | None | 0 0
  1. using System;
  2. using MonoTouch.UIKit;
  3.  
  4. namespace Tandlaegen {
  5.     public class TableItem {
  6.         public string Heading { get; set; }
  7.  
  8.         public string SubHeading { get; set; }
  9.  
  10.         public string ImageName { get; set; }
  11.  
  12.         public int Type { get; set; }
  13.  
  14.         public UITableViewCellStyle CellStyle
  15.         {
  16.             get { return cellStyle; }
  17.             set { cellStyle = value; }
  18.         }
  19.         protected UITableViewCellStyle cellStyle = UITableViewCellStyle.Default;
  20.  
  21.         public UITableViewCellAccessory CellAccessory
  22.         {
  23.             get { return cellAccessory; }
  24.             set { cellAccessory = value; }
  25.         }
  26.         protected UITableViewCellAccessory cellAccessory = UITableViewCellAccessory.None;
  27.  
  28.         public TableItem () { }
  29.  
  30.         public TableItem (string heading, int type)
  31.         { Heading = heading;
  32.             Type = type;
  33.         }
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement