I've got an ObservableCollection(Of PdfMarkupAnnotationDataWrapper) which is bound to a ListBoxEdit. In addition I've got a textbox which should work as a filter.
Now when the user types something in the textbox the ObservableCollection in my Viewmodel should be filtered by the input of the textbox.
Here is my collection
Private Property _annotationList As ObservableCollection(Of PdfMarkupAnnotationDataWrapper)
Public Property AnnotationList As ObservableCollection(Of
PdfMarkupAnnotationDataWrapper)
Get
Return _annotationList
End Get
Set(value As ObservableCollection(Of PdfMarkupAnnotationDataWrapper))
_annotationList = value
OnPropertyChanged()
End Set
End Property
Is there any way to accomplish this task?
I was thinking about copying the collection but there has to be better solution.