http://www.wpf-tutorial.com/data-binding/using-the-datacontext/ http://www.wpf-tutorial.com/data-binding/the-update-source-trigger-property/ DataContext 속성의 디폴트는 null입니다. 그러나, DataContext는 컨트롤 계층에 의하여 상속되므로 하위 컨트롤에서 사용할 수 있습니다. 123456789101112 Colored by Color Scriptercs 12345public MainWindow() { InitializeComponent(); this.DataContext = this; }cs 창에는 창에는 컨트롤에 전달되는 DataContext가 있기 때문에, 각각의 bind..
http://www.wpf-tutorial.com/data-binding/introduction/http://www.wpf-tutorial.com/data-binding/hello-bound-world/ 데이터 바인딩은 두개의 data/정보 소스를 함께 엮고, 데이터의 동기화를 유지하는 일반적인 기술입니다. TextBox의 Text 속성과 TextBlock의 값을 바인딩하는 예제입니다.1234567 Colored by Color Scriptercs {Binding Path = NameOfProperty, ElementName = name} Path : 바인딩할 속성 (생략 가능)ElementName : 바인딩할 속성 중에서의 name
- Total
- Today
- Yesterday
- CustomCollectionViewCell
- BFS
- 스택
- command
- 타일링
- XAML
- UIView Animation
- 생활코딩
- C++
- Grid
- WPF
- CollectionView
- listview
- DP
- 코딩야학
- FEED
- dfs
- 객체
- MVVM
- BOJ
- Cell Animation
- Fakebook
- Custom Cell
- 데이터 바인딩
- 문자열
- 백준
- 그래프
- 백준온라인
- Add TapGesture
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |