https://www.youtube.com/watch?v=xUwk2-_tRzo View 폴더 - 사용자정의컨트롤로 FirstView, SecondView, ThirdView를 생성 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------- Colored by..
JSON ListView : http://susemi99.kr/1651 준비 : [프로젝트명] 우클릭 - [Nuget 패키지관리] 클릭 -"Newtonsoft.Json" 다운로드http://www.gamedevforever.com/255 에서 제공해 준 dll을 참조 App.xaml123456789 Colored by Color ScriptercsApp.xaml.cs 12345678910111213141516171819using MVVM_Json_ListView.View;using MVVM_Json_ListView.ViewModel; namespace MVVM_Json_ListView{ /// /// App.xaml에 대한 상호 작용 논리 /// public partial class App : Appli..
1. Model, View, ViewModel로 구분Model : Data classView : MainView.xamlViewModel : MainViewModel.cs , ViewModelBase.cs App.xaml1234567891011 Colored by Color ScriptercsApp.xaml.cs12345678910111213141516171819202122232425using ListViewSample.View;using ListViewSample.ViewModel; namespace ListViewSample{ /// /// App.xaml에 대한 상호 작용 논리 /// public partial class App : Application { private void Applicatio..
http://www.gamedevforever.com/25544 MainWindow.xaml - View12345678910 Colored by Color ScriptercsMainWindow.cs 1234567891011121314namespace WPF_Start{ /// /// MainWindow.xaml에 대한 상호 작용 논리 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); this.DataContext = new MainViewModel(); } }}Colored by Color Scriptercs MainViewModel.xaml - ViewModelProperty가 변하면 Vi..
http://www.wpf-tutorial.com/listview-control/listview-sorting/ 12345678910 Colored by Color Scriptercs123456789101112131415161718192021222324252627using System.ComponentModel; public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); List items = new List(); items.Add(new User() { Name = "John Doe", Age = 42 }); items.Add(new User() { Name = "Jane Doe", Age = 39 });..
http://www.wpf-tutorial.com/listview-control/listview-grouping/ 1234567891011121314151617181920 Colored by Color Scriptercs12345678910111213141516171819202122232425262728293031public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); List items = new List(); items.Add(new User() { Name = "John Doe", Age = 42, Sex = SexType.Male }); items.Add(new User() { Name = "Jan..
http://www.wpf-tutorial.com/listview-control/listview-gridview-left-aligned-column-names/ GridViewColumn에서 GridView의 Header를 수정할 수 있는 방법이 없습니다.대신, ListView.Resources를 수정하여 Header의 위치 등을 변경할 수 있습니다.12345 Colored by Color Scriptercs Local or Global style 위와 같이 control 내에서만 Resource를 수정하면 해당 ListView에서만 style이 적용됩니다.아래의 경우 전체적인 ListView의 style이 변경되게 하는 코드입니다.12345 Colored by Color Scriptercs
http://www.wpf-tutorial.com/listview-control/listview-with-gridview/ ListBox와 ListView의 가장 큰 차이점은 GridView의 사용입니다.1234567891011 Colored by Color Scriptercs1234567891011121314151617181920public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); List items = new List(); items.Add(new User() { Name = "John Doe", Age = 42, Mail = "john@doe-family.com" }); items.Add(new ..
http://www.wpf-tutorial.com/listview-control/listview-data-binding-item-template/ 123 Colored by Color Scriptercs123456789101112131415161718192021public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); InitializeComponent(); List items = new List(); items.Add(new User() { Name = "John Doe", Age = 42 }); items.Add(new User() { Name = "Jane Doe", Age = 39 }); items...
http://www.wpf-tutorial.com/listview-control/simple-listview/ WPF ListView control은 ListBox control을 직접적으로 상속받기 때문에 매우 비슷하게 보입니다.1234567891011 A ListView with several items Colored by Color Scriptercs ListViewItem은 ContentControl 클래스에서 파생되므로 custom하게 할 수 있습니다.
- Total
- Today
- Yesterday
- 코딩야학
- command
- Custom Cell
- FEED
- dfs
- Cell Animation
- 생활코딩
- C++
- CustomCollectionViewCell
- 객체
- UIView Animation
- 그래프
- 스택
- Fakebook
- 타일링
- 데이터 바인딩
- Grid
- 백준온라인
- listview
- DP
- Add TapGesture
- WPF
- CollectionView
- MVVM
- 문자열
- BOJ
- XAML
- BFS
- 백준
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |