Example #1
0
 public object Convert(object value, System.Type targetType, object parameter, System.Globalization.CultureInfo culture)
 {
     FooEditEngine.TextRange range = (FooEditEngine.TextRange)value;
     return(string.Format("Index:{0} Length:{1}", range.Index, range.Length));
 }