public PerformanceHeader ()
 {
     this.View.Frame = new RectangleF (0, 2, UIScreen.MainScreen.Bounds.Width, 55);
     performanceHeaderView = new PerformanceHeaderView();
     performanceHeaderView.Frame = new RectangleF(0, 0, UIScreen.MainScreen.Bounds.Width, this.View.Bounds.Height);
     performanceHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight |  UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews(performanceHeaderView);
 }
Exemplo n.º 2
0
 public PerformanceHeader()
 {
     this.View.Frame                        = new RectangleF(0, 2, UIScreen.MainScreen.Bounds.Width, 55);
     performanceHeaderView                  = new PerformanceHeaderView();
     performanceHeaderView.Frame            = new RectangleF(0, 0, UIScreen.MainScreen.Bounds.Width, this.View.Bounds.Height);
     performanceHeaderView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
     this.View.AddSubviews(performanceHeaderView);
 }