I have a XAML file tha contains a listbox and a textbox.
The listbox is filled with databinding like so:
<ListBox x:Name="lstboxNotes"
ItemsSource="{Binding Notes}"
SelectedItem="{Binding SelectedNote}"
Grid.Row="1"
></ListBox>
The textbox i have should filter out results in real time as you type in it. So for example you have 5 notes in the listbox, if you search for 'note 2' only that note would be shown, or any other note's that contain 'note 2' in their name.
I know you can do this quite easily with datatable/dataview but i do not know how to set my Itemssource to be the datatable.