コード例 #1
0
ファイル: iiControls.cs プロジェクト: XnainA/InsideInning
 public static View CreateEntryFor(string propertyName, Color color, string id="", bool IsPassword = false)
 {
     iiTextBox iiEditTextBox = new iiTextBox
     {
         TextColor = color.ToFormsColor(),
         IsPassword = IsPassword,
         Placeholder = propertyName,
         BackgroundColor = Xamarin.Forms.Color.Transparent, //Color.iiEditTextColor.ToFormsColor(),
         ClassId = id,
         TranslationY = 2,     
     };
     iiEditTextBox.HorizontalOptions = LayoutOptions.FillAndExpand;
     iiEditTextBox.SetBinding(iiTextBox.TextProperty, propertyName);
     return iiEditTextBox;
 }
コード例 #2
0
ファイル: LoginPageView.cs プロジェクト: XnainA/InsideInning
		public static View CreateEntryFor(string propertyName, Color color, string id = "", bool IsPassword = false)
		{
			iiTextBox iiEditTextBox = new iiTextBox
			{
                TextColor = Xamarin.Forms.Color.White,
				IsPassword = IsPassword,
				Placeholder = propertyName,
				BackgroundColor = Xamarin.Forms.Color.Transparent, //Color.iiEditTextColor.ToFormsColor(),
				ClassId = id,
				TranslationY = 2,
				WidthRequest = 200,
			};
            iiEditTextBox.SetBinding(Entry.TextProperty,propertyName);
			return iiEditTextBox;
		}
コード例 #3
0
        public static View CreateEntryFor(string propertyName, Color color, string id = "", bool IsPassword = false)
        {
            iiTextBox iiEditTextBox = new iiTextBox
            {
                TextColor       = color.ToFormsColor(),
                IsPassword      = IsPassword,
                Placeholder     = propertyName,
                BackgroundColor = Xamarin.Forms.Color.Transparent, //Color.iiEditTextColor.ToFormsColor(),
                ClassId         = id,
                TranslationY    = 2,
            };

            iiEditTextBox.HorizontalOptions = LayoutOptions.FillAndExpand;
            iiEditTextBox.SetBinding(iiTextBox.TextProperty, propertyName);
            return(iiEditTextBox);
        }
コード例 #4
0
ファイル: LoginPageView.cs プロジェクト: rzeem7/InsideInning
        public static View CreateEntryFor(string propertyName, Color color, string id = "", bool IsPassword = false)
        {
            iiTextBox iiEditTextBox = new iiTextBox
            {
                TextColor       = Xamarin.Forms.Color.White,
                IsPassword      = IsPassword,
                Placeholder     = propertyName,
                BackgroundColor = Xamarin.Forms.Color.Transparent,                 //Color.iiEditTextColor.ToFormsColor(),
                ClassId         = id,
                TranslationY    = 2,
                WidthRequest    = 200,
            };

            iiEditTextBox.SetBinding(Entry.TextProperty, propertyName);
            return(iiEditTextBox);
        }