private static void SetErrorText(BindableObject bindable, object oldValue, object newValue) { ErrorIndicator control = bindable as ErrorIndicator; control.lblErrorText.Text = (string)newValue; }
private static void SetErrorImage(BindableObject bindable, object oldValue, object newValue) { ErrorIndicator control = bindable as ErrorIndicator; control.imgError.Source = (ImageSource)newValue; }
private static void SetIsError(BindableObject bindable, object oldValue, object newValue) { ErrorIndicator control = bindable as ErrorIndicator; control.IsVisible = (bool)newValue; }