"file path to file name string converter not working" Code Answer


in itemssource binding converter applies to the whole list and not to each item in the collection. if you want to apply your converter per item you need to do it itemtemplate

<listbox x:name="videofilelist" itemssource="{binding path=datacontext.vidfiledisplay, elementname=ch_parameters}" ...>
            <textblock text="{binding path=., converter={staticresource pathtofilename}}"/>
By jerogaren on January 22 2022

Answers related to “file path to file name string converter not working”

Only authorized users can answer the Search term. Please sign in first, or register a free account.