using System; using System.Windows.Data; namespace OS.Spin.View.ProgressBar { public class ProgressBarValueLocationConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return ((double)value - 25); } public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return 0; } } }