observablecollection - format Observablecollecting<string> of file paths -


im running program copies text of txt file textbox. can save edited text original text file. have combobox, has itemssource of obsevablecollection, containg filepaths of files have been opened already. format each entry whole path starting on c://.

id format text file name, can me?

observablecollection<string> lastusedfiles= observablecollection<string>();     public mainwindow()     {         initializecomponent();         combobox.itemssource = lastusedfiles;     } 


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -