Exemplo n.º 1
0
        private static void SetErrorText(BindableObject bindable, object oldValue, object newValue)
        {
            ErrorIndicator control = bindable as ErrorIndicator;

            control.lblErrorText.Text = (string)newValue;
        }
Exemplo n.º 2
0
        private static void SetErrorImage(BindableObject bindable, object oldValue, object newValue)
        {
            ErrorIndicator control = bindable as ErrorIndicator;

            control.imgError.Source = (ImageSource)newValue;
        }
Exemplo n.º 3
0
        private static void SetIsError(BindableObject bindable, object oldValue, object newValue)
        {
            ErrorIndicator control = bindable as ErrorIndicator;

            control.IsVisible = (bool)newValue;
        }