using System.Globalization; using System.Windows.Data; namespace CRSim.ScreenSimulator.Converters { public class LandmarkToStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if(value is null) { return "/"; } return value; } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { throw new NotImplementedException(); } } }