| 123456789101112131415161718192021 | 
							- using System;
 
- using System.Globalization;
 
- using System.Windows.Data;
 
- namespace FurnaceUI.Converter
 
- {
 
-     public class IndexConverter : IValueConverter
 
- 	{
 
- 		public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 
- 		{
 
- 			int index = (int)value +1;
 
- 			return index;
 
- 		}
 
- 		public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
 
- 		{
 
- 			throw new NotImplementedException();
 
- 		}
 
- 	}
 
- }
 
 
  |