Right now I have a table (SelectedModule.Vwr) that updates when the selected module changes.
<ContentControl x:Name="MainTableCtrl" Content="{Binding SelectedModule.Vwr, UpdateSourceTrigger=PropertyChanged}" Grid.Row="0"/>
What I`d like to do is filter the table in the code behind. So instead of binding directly to the table, I would bind to a filtered table.
public MainTableViewModel FilteredMain
{
get { //filter results here
return SelectedModule.Vwr; }
set { }
}
I'm having some trouble with the tables updating however. The table doesn't update it's display properly anymore. Once SelectedModule changes, FilteredMain still displays the original table.
I'd like to know how to tell the UI to update it's source again once an event happens. In this case that source would be FilteredMain, and the event would be SelectedModule changing