Пример #1
0
 public GraphHeader ()
 {
     this.View.Frame = new CGRect (0, 2, this.View.Bounds.Width, 400);
     graphHeaderView = new GraphHeaderView ();
     graphHeaderView.Frame = new CGRect (0, 40, this.View.Bounds.Width, this.View.Bounds.Height);
     graphHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews (graphHeaderView);
 }
Пример #2
0
 public GraphHeader()
 {
     this.View.Frame                  = new CGRect(0, 2, this.View.Bounds.Width, 400);
     graphHeaderView                  = new GraphHeaderView();
     graphHeaderView.Frame            = new CGRect(0, 40, this.View.Bounds.Width, this.View.Bounds.Height);
     graphHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews(graphHeaderView);
 }