Ejemplo n.º 1
0
        public EGFloatingTextEntryContainer(CGRect frame) : base(frame)
        {
            ErrorLabel  = new UILabel(CGRect.Empty);
            MainControl = new EGFloatingTextEntry(CGRect.Empty);

            ErrorLabel.TextColor     = MainControl.ErrorColor;
            ErrorLabel.TextAlignment = UITextAlignment.Left;
            ErrorLabel.Lines         = 1;
            ErrorLabel.Font          = UIFont.FromName("HelveticaNeue", 10);


            this.Add(MainControl);
            this.Add(ErrorLabel);
            MainControl.errorLabel = ErrorLabel;
        }
		public EGFloatingTextEntryContainer(CGRect frame):base(frame)
		{
			ErrorLabel = new UILabel (CGRect.Empty);
			MainControl = new EGFloatingTextEntry (CGRect.Empty);

			ErrorLabel.TextColor = MainControl.ErrorColor;
			ErrorLabel.TextAlignment = UITextAlignment.Left;
			ErrorLabel.Lines = 1;
			ErrorLabel.Font = UIFont.FromName ("HelveticaNeue",10);


			this.Add (MainControl);
			this.Add (ErrorLabel);
			MainControl.errorLabel = ErrorLabel;
		}