public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var loc = (Location)value; if (Game.DB !.MapDatabase.IsDungeon(loc)) { return(Stretch.Uniform); }