public override void ViewDidLoad()
{
base.ViewDidLoad ();
float selectedColorViewHeight = 60;
float viewSpace = 1;
selPrevView.Frame = new RectangleF(0,0,this.View.Bounds.Width,selectedColorViewHeight);
selPrevView.AutoresizingMask = UIViewAutoresizing.FlexibleWidth;
selPrevView.Layer.ShadowOpacity = 0.6f;
selPrevView.Layer.ShadowOffset = new SizeF(0,7);
selPrevView.Layer.ShadowColor = UIColor.Black.CGColor;
//to megalo view epilogis apoxrwsis tou epilegmenou xrwmats
satbrightview.Frame = new RectangleF(0,selectedColorViewHeight + viewSpace , this.View.Bounds.Width, this.View.Bounds.Height - selectedColorViewHeight - selectedColorViewHeight - viewSpace - viewSpace);
satbrightview.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
satbrightview.ColorPicked += HandleColorPicked;
satbrightview.AutosizesSubviews = true;
//to mikro view me ola ta xrwmata
huewView.Frame = new RectangleF(0, this.View.Bounds.Bottom - selectedColorViewHeight, this.View.Bounds.Width, selectedColorViewHeight);
huewView.AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleTopMargin;
huewView.HueChanged += HandleHueChanged;
huewIndicatorView.huePickerViewRef = huewView;
float pos = huewView.Frame.Width * huewView.Hue;
huewIndicatorView.Frame = new RectangleF(pos - 10,huewView.Bounds.Y - 2,20,huewView.Bounds.Height + 2);
huewIndicatorView.UserInteractionEnabled = false;
huewIndicatorView.AutoresizingMask = UIViewAutoresizing.FlexibleLeftMargin | UIViewAutoresizing.FlexibleRightMargin;
huewView.AddSubview(huewIndicatorView);
satBrightIndicatorView.satBrightPickerViewRef = satbrightview;
PointF pos2 = new PointF(satbrightview.saturation * satbrightview.Frame.Size.Width,
satbrightview.Frame.Size.Height - (satbrightview.brightness * satbrightview.Frame.Size.Height));
satBrightIndicatorView.Frame = new RectangleF(pos2.X - satBrightIndicatorSize.Width/2,pos2.Y-satBrightIndicatorSize.Height/2,satBrightIndicatorSize.Width,satBrightIndicatorSize.Height);
satBrightIndicatorView.AutoresizingMask = UIViewAutoresizing.FlexibleLeftMargin | UIViewAutoresizing.FlexibleRightMargin | UIViewAutoresizing.FlexibleTopMargin | UIViewAutoresizing.FlexibleBottomMargin;
satBrightIndicatorView.UserInteractionEnabled = false;
satbrightview.AddSubview(satBrightIndicatorView);
this.View.AddSubviews(new UIView[] {satbrightview, huewView, selPrevView});
}