I have an ObservableCollection that I would like to be able to add and remove strings to via the UI, preferable achieved with databinding. The collection is already exposed such that in can be used in an itemssource binding expression..
Any suggestions?
You can use a
DataGridto get the add and remove functionality. However, theDataGridrequires a parameterless constructor for the underlying items in order to support the add operation.You can use a wrapper for string
Then your
DataGridcan use it asItemsSource