일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- windows10
- convert
- git
- string
- File
- Coding
- C#
- tls
- logging
- algorithm
- csharp
- Binding
- mysql
- nullable
- WPF
- chashtag
- ListView
- commit
- Microsoft
- Visual Studio
- log
- IValueConverter
- 코딩테스트
- Github
- coding-test
- Process
- .net
- programmers
- windows
- dotNET
Archives
- Today
- Total
목록filter (1)
CHashtag
[C# WPF] MVVM 패턴 ListView Filter (Binding)
결론부터 알려드리겠습니다. public class MainViewModel { private string _filter = string.Empty; public string Filter { get => _filter; set { _filter = value; OnFilterChanged(); } } private ObservableCollection StringFilter { get; set; } private CollectionViewSource StringCollectionViewSource { get; set; } public ICollectionView StringCollection { get { return StringCollectionViewSource.View; } } public MainV..
C#/WPF
2021. 2. 9. 01:33