void InitView() { this.View.BackgroundColor = UIColor.White; thumbnail = new MvxImageView (new CGRect (0, 65, View.Bounds.Width, 320)); View.Add (thumbnail); description = new UILabel (new CGRect (5, 65 + thumbnail.Frame.Height + 10, View.Bounds.Width - 10, View.Bounds.Height - (65 + thumbnail.Frame.Height + 10))); description.Lines = 0; description.LineBreakMode = UILineBreakMode.WordWrap; description.Font = UIFont.SystemFontOfSize (15); View.Add (description); }
private void InitCell() { Frame = new CGRect(0, 0, ContentView.Bounds.Width, GetCellHeight()); BackgroundColor = UIColor.Clear; thumbnail = new MvxImageView (new CGRect (0, 0, 80, GetCellHeight())); this.AddSubview (thumbnail); name = new UILabel (new CGRect (85, 0, ContentView.Bounds.Width - 85, GetCellHeight())); name.Font = UIFont.BoldSystemFontOfSize (17); name.Lines = 0; name.LineBreakMode = UILineBreakMode.WordWrap; this.AddSubview (name); }