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