[ValueConversion(typeof(string), typeof(string))] public class ReverseStringConverter: IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { string source = value as string; return ReverseStringConverter.RevertString(source); } public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { string source = value as string; return ReverseStringConverter.RevertString(source); } private static string RevertString(string source) { int sourceLength = source.Length; char[] destination = new char[source.Length]; for (int iterator = 0; iterator < sourceLength; iterator++) { destination[iterator] = source[sourceLength - iterator - 1]; } return new string(destination); } }