I've got a plain-old WPF ListBox defined in my .xaml:
...
<ListBox Name="foo">
</ListBox>
...
In my matching .xaml.cs I programmatically add strings to this ListBox.
I'd like to be able to edit these strings from the UI at runtime.
I'm new to WPF, so my first thought was to dynamically replace the string in the ListBox's collection with a TextBox via a callback. Though this produced no error, it didn't appear to change the UI at all.
Is there a standard approach to doing this sort of thing in WPF?