Пример #1
0
        private static void SetErrorText(BindableObject bindable, object oldValue, object newValue)
        {
            ErrorIndicator control = bindable as ErrorIndicator;

            control.lblErrorText.Text = (string)newValue;
        }
Пример #2
0
        private static void SetErrorImage(BindableObject bindable, object oldValue, object newValue)
        {
            ErrorIndicator control = bindable as ErrorIndicator;

            control.imgError.Source = (ImageSource)newValue;
        }
Пример #3
0
        private static void SetIsError(BindableObject bindable, object oldValue, object newValue)
        {
            ErrorIndicator control = bindable as ErrorIndicator;

            control.IsVisible = (bool)newValue;
        }