public override object Convert(object value, Type targetType, object parameter, CultureInfo culture) { Profile profile = value as Profile; if (profile != null) { return ConfigurationManager.GetConfiguration(profile.GameModel).Name; } return value; }