public GraphHeader () { this.View.Frame = new RectangleF (0, 2, this.View.Bounds.Width, 400); graphHeaderView = new GraphHeaderView(); graphHeaderView.Frame = new RectangleF(0, 40, this.View.Bounds.Width, this.View.Bounds.Height); graphHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth; this.View.AddSubviews(graphHeaderView); }
public GraphHeader() { this.View.Frame = new RectangleF(0, 2, this.View.Bounds.Width, 400); graphHeaderView = new GraphHeaderView(); graphHeaderView.Frame = new RectangleF(0, 40, this.View.Bounds.Width, this.View.Bounds.Height); graphHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth; this.View.AddSubviews(graphHeaderView); }