public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { Profession prof = new Profession(); Position temp = (Position)value; return(string.Format("{0}", prof.GetPosition(temp))); }