public View CreateButtonFor(string propertyName, LayoutOptions layout, string id = "")
        {

            iiButton iiButton = new iiButton
            {
                //HorizontalOptions = LayoutOptions.FillAndExpand,
                // Image=(FileImageSource)ImageSource.FromFile(imgscr),
                BackgroundColor = Xamarin.Forms.Color.Transparent,
                BorderColor = Xamarin.Forms.Color.White,
                BorderWidth = 2,
                WidthRequest = 70,
                HeightRequest = 40,
                HorizontalOptions = layout,
                ClassId = id,
            };
            //iiButton.SetBinding(Button.TextColorProperty, propertyName);
            return iiButton;
        }
        public View CreateButtonFor(string propertyName, string imgSrc, string _id)
        {
            iiButton iiButton = new iiButton
            {
                Image = imgSrc,
                ClassId = _id,
                Text = propertyName,
                FontSize = 15,
                HorizontalOptions = LayoutOptions.Fill,
                TextColor = Color.White.ToFormsColor(),
                //BackgroundColor = Color.LightGreen.ToFormsColor(),
                HeightRequest = 50,
            };
            iiButton.Clicked += TabBtn_Clicked;

            return iiButton;
        }