Exemple #1
0
        void UpdateHelperText()
        {
            MaterialPickerTextInputLayout materialPickerTextInputLayout = Control as MaterialPickerTextInputLayout;

            if (materialPickerTextInputLayout != null)
            {
                materialPickerTextInputLayout.HelperText = MaterialEntryExtensionEffect.GetHelperText(Element);
            }
        }
        void UpdateHelperText()
        {
            MaterialTextField materialTextField = Control as MaterialTextField;

            if (materialTextField != null)
            {
                materialTextField.ActiveTextInputController.SetHelperText(MaterialEntryExtensionEffect.GetHelperText(Element), null);
            }
        }
        void UpdateErrorText()
        {
            MaterialFormsTextInputLayout materialFormsTextInputLayout = Control as MaterialFormsTextInputLayout;

            if (materialFormsTextInputLayout != null)
            {
                materialFormsTextInputLayout.Error = MaterialEntryExtensionEffect.GetErrorText(Element);
            }
        }