http://www.wpf-tutorial.com/commands/implementing-custom-commands/ 이전에는 WPF에 미리 정의되어진 command들의 사용에 대한 다양한 방법들을 보았습니다.추가적으로 command들을 사용자가 구현할 수 있습니다. 가장 쉬운 방법은 사용자의 command들을 포함하는 static class를 구현하는 것입니다.각각의 command는 static field로 class에 추가되어집니다. 12345678910111213141516171819202122232425262728293031 public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } privat..
1234567 New Colored by Color Scriptercs1234567891011121314 public MainWindow() { InitializeComponent(); } private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e) { MessageBox.Show("The New command was invoked"); } private void CommandBinding_CanExecute(object sender, CanExecuteRoutedEventArgs e) { e.CanExecute = true; }Colored by Color Scriptercs CommandBidings collection을..
- Total
- Today
- Yesterday
- XAML
- 코딩야학
- 타일링
- C++
- listview
- CollectionView
- Fakebook
- 생활코딩
- 객체
- FEED
- MVVM
- UIView Animation
- command
- 백준온라인
- Custom Cell
- Cell Animation
- 그래프
- Grid
- DP
- BOJ
- 백준
- 데이터 바인딩
- BFS
- CustomCollectionViewCell
- Add TapGesture
- 문자열
- 스택
- WPF
- dfs
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |