Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JMAStyledStringElement jma = new JMAStyledStringElement (pro.Name, String.Format ("{0:C}", pro.Price));
- jma.Accessory = UITableViewCellAccessory.DisclosureIndicator;
- jma.Product = pro;
- jma.LineBreakMode = UILineBreakMode.TailTruncation;
- jma.JMAUITableViewStyle = UITableViewCellStyle.Subtitle;
- jma.Tapped += delegate() {
- CurrentProduct = pro;
- DetailDataMode = DetailDataMode.Add;
- DetailsViewController ();
- };
- sect.Add (jma);
Advertisement
Add Comment
Please, Sign In to add comment