示例#1
0
		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);
		}
示例#2
0
 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);
 }