File path to file name String converter not working
Using a wpf ListBox I'm trying to display a list of filename without displaying the full path (more convenient for user). Data comes from an ObservableCollection which is filled using Dialog. private ObservableCollection<string> _VidFileDisplay = new ObservableCollection<string>(new[] {""}); public ObservableCollection<string> VidFileDisplay { get { return _VidFileDisplay; } set { _VidFileDisplay = value; } } In the end I want to select some items and get back the full file path. For this I have a converter : public class PathToFilenameConverter : IValueConverter { public object Convert(object