public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { if (value is long bytes) { return(new SolidColorBrush(ColorConvert.GetConnectEmptyColor(bytes))); } return(DependencyProperty.UnsetValue); }