Created
August 21, 2013 04:18
-
-
Save prashantvc/6290272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using MonoTouch.Dialog; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace DVC_Test_JanGundorf | |
{ | |
public class AddressElement : StyledMultilineElement, IElementSizing | |
{ | |
public AddressElement (string caption, string value, UITableViewCellStyle style) : base ( | |
caption, value, style){ | |
} | |
public override float GetHeight (UITableView tableView, NSIndexPath indexPath) | |
{ | |
var height = base.GetHeight (tableView, indexPath); | |
return height + 26f; //Envelop image height | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment