6 class FromSimulationStepsToPauseToString : IValueConverter
16 public object Convert(
object value, Type targetType,
object parameter,
17 System.Globalization.CultureInfo culture)
19 if ((ulong)value == ulong.MaxValue)
22 return value.ToString();
33 public object ConvertBack(
object value, Type targetType,
object parameter,
34 System.Globalization.CultureInfo culture)
36 string valueString = (string)value;
38 if (ulong.TryParse(valueString, out result))
object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Convert string to simulation speed.
object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Convert simulation steps to string.