일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- chashtag
- Process
- programmers
- 코딩테스트
- Visual Studio
- ListView
- .net
- C#
- Github
- windows10
- mysql
- File
- algorithm
- WPF
- Microsoft
- git
- IValueConverter
- Binding
- Coding
- logging
- convert
- commit
- string
- windows
- nullable
- csharp
- tls
- coding-test
- dotNET
- log
Archives
- Today
- Total
목록checkbox (1)
CHashtag
[C#][WPF] MVVM패턴 CheckBox 양방향 Binding
안녕하세요. 오늘은 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