private RootElement CreateRoot ()
		{
			pseudo = new MyEntryElement ("pseudo", null);
			pass = new MyEntryElement ("mot de passe", null, true);
			pass.OnReturn += HandlePassOnReturn;
			
			return new RootElement ("post") {
				new Section (){
					
				}
			};		
		}
		RootElement CreateRoot ()
		{
			email = new MyEntryElement ("e-mail", null);
			pseudo = new MyEntryElement ("username", null);
			pass = new MyEntryElement ("password", null, true);
			emptyImage = UIImage.FromBundle("Images/Login/emptyProfile.png");
			
			/*
			var ise = new PhotoStringElement("image profile", 
				UIImage.FromBundle("Images/Login/emptyProfile.png").resizeImage(new SizeF(30, 30)));
			
			ise.OnExited += ()=>
			{
				_dialogView.View.Frame = new System.Drawing.RectangleF (0, 40, 320, 420);
			};
			*/
			
			photo = new PhotoElement (emptyImage);//.resizeImage(new SizeF(48, 43)));
			photo.OnEntered+= ()=>
			{
				lineView.Hidden = true;
			};
			photo.OnExited += ()=>
			{
				_dialogView.View.Frame = new System.Drawing.RectangleF (0, 40, 320, 420);
				lineView.Hidden = false;
			};
			
			var root = new RootElement ("post") { new Section { email, pseudo, pass }, 
				new Section { photo }
			  } ;
						
			return root;
		}
		private RootElement CreateRoot ()
		{
			Description = new MyEntryElement ("title", null, false, UIReturnKeyType.Default);
			FirstComment = new MyEntryElement ("first comment", null, false, UIReturnKeyType.Default);
			
			if (eventImage != null)
			{
				return new RootElement ("post") {
					new Section () {  Description, },
					new Section() { FirstComment, }
				};
			}
			else
			{
				createAlbumCbx = new BooleanElement (Locale.GetText ("create album"), false);
				createAlbumCbx.ValueChanged += (sender, e) => 
				{
					postOptions = createAlbumCbx.Value ? PostOptions.CreateAlbum : PostOptions.PostNew;
				};
				return new RootElement ("post") {
					new Section () {  Description, },
					new Section() { FirstComment, },
					new Section() { createAlbumCbx }
				};
			}
		}