private static void OnFloatingTextFontChanged(BindableObject bindable, object oldValue, object newValue)
        {
            if (bindable == null || newValue == null)
            {
                return;
            }

            FloatingLabelEntry labelEntry = bindable as FloatingLabelEntry;

            labelEntry.lblfloatingText.FontAttributes = labelEntry.FloatingTextFontAttributes;
        }
        private static void OnHintTextChanged(BindableObject bindable, object oldValue, object newValue)
        {
            if (bindable == null)
            {
                return;
            }

            FloatingLabelEntry labelEntry = bindable as FloatingLabelEntry;

            labelEntry.lblError.Text = newValue as string;
        }
        private static void OnHasErrorChanged(BindableObject bindable, object oldValue, object newValue)
        {
            if (bindable == null)
            {
                return;
            }

            FloatingLabelEntry labelEntry = bindable as FloatingLabelEntry;

            if ((bool)newValue)
            {
                labelEntry.lblError.Text             = labelEntry.ErrorText;
                labelEntry.lblError.TextColor        = labelEntry.ErrorColor;
                labelEntry.lblfloatingText.TextColor = labelEntry.ErrorColor;
                labelEntry.lblError.IsVisible        = true;
            }
            else
            {
                labelEntry.lblError.Text             = labelEntry.HintText;
                labelEntry.lblError.TextColor        = Color.Black;
                labelEntry.lblfloatingText.TextColor = Color.Black;
                labelEntry.lblError.Text             = labelEntry.HintText;
            }
        }