You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class ValidationConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language) => (bool)value ? new SolidColorBrush(Colors.PaleGreen) : new SolidColorBrush(Colors.OrangeRed);
public object ConvertBack(object value, Type targetType, object parameter, string language) => throw new NotImplementedException();
}
private string NomRegex { get; } ="^.{2,}$";
The text was updated successfully, but these errors were encountered:
public class TestConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language) => ((string)value).Length >2 ? new SolidColorBrush(Colors.PaleGreen) : new SolidColorBrush(Colors.OrangeRed);
public object ConvertBack(object value, Type targetType, object parameter, string language) => throw new NotImplementedException();
}
this alone in a page works:
but put into a
TabViewItem
and theTextBoxRegex
stops working:with:
private string NomRegex { get; } ="^.{2,}$";
The text was updated successfully, but these errors were encountered: