Missing a working example
I would appreciate to see a working example here. It is a bit hard to put all code fragments at the right spot. Also using two unrelated examples is not very helpful.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 656cfb37-27e3-c249-ef92-6fc52aa972d8
- Version Independent ID: f795ea30-a188-9b2e-a411-568935347be9
- Content: How to: Filter Data in a View - WPF .NET Framework
- Content Source: dotnet-desktop-guide/framework/wpf/data/how-to-filter-data-in-a-view.md
- Product: dotnet-framework
- Technology: dotnet-wpf
- GitHub Login: @adegeo
- Microsoft Alias: adegeo
Thank you for opening this issue. I'll add it to the backlog. We're currently reworking a lot of WPF content for .NET Core WPF and this is something we can look at when we get to data. I'm afraid this won't be anytime soon but the feedback is valuable.
Thanks!
The article has a link to the Sorting and Filtering Items in a View Sample that shows the first complete sample. The second one would be at https://github.com/microsoft/WPF-Samples/tree/master/Sample%20Applications/DataBindingDemo.