일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- convert
- nullable
- chashtag
- C#
- csharp
- git
- ListView
- File
- windows10
- windows
- Visual Studio
- log
- Binding
- commit
- IValueConverter
- tls
- Process
- 코딩테스트
- dotNET
- programmers
- .net
- mysql
- string
- coding-test
- logging
- Microsoft
- Github
- algorithm
- Coding
- WPF
Archives
- Today
- Total
목록checkbox (1)
CHashtag

안녕하세요. 오늘은 MVVM패턴에서 CheckBox의 값을 ViewModel로 전달하고, 또 그 반대로 ViewModel에서 값을 CheckBox로 전달하는 방법에 대해 알아보도록 하겠습니다. // MainViewModel.cs using System.ComponentModel; using System.Runtime.CompilerServices; namespace WpfApp14 { public class MainViewModel : INotifyPropertyChanged { private bool _isChecked = false; public bool IsChecked { get => _isChecked; set { _isChecked = value; NotifyPropertyChanged(); ..
C#/WPF
2021. 2. 19. 01:05