How to refresh a list view in WPF.
Usually all changes in a list view in WPF should be applied via data binding. Some elements however did not update correctly in my application. So in these cases the list view can be refreshed with the following code.
ListView.Items.Refresh();