I have ObservableCollection < Result > results that is ItemSource of ListBox control. Result class contains bool variable that represents visibilty of one element in ListBox item through BooleanToVisibiltyConverter. When i set ItemSource it's all ok and works fine: elements that have false are not visible, and one that have true is visible. But when i change variable from true to false, the element is not changing his visibility. What is problem?
Now i need to do this magic:
ResultsListBox.ItemsSource = null;
ResultsListBox.ItemsSource = results;