File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed
TreeMapLayoutTypeChange/TreeMapLayoutTypeChange Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2222 FontAttributes =" Bold" />
2323
2424 <editors : SfComboBox x : Name =" comboBox"
25+ x : DataType =" local:LayoutTypeViewModel"
2526 Grid.Row=" 2"
2627 WidthRequest =" 250"
2728 HeightRequest =" 50"
3637 </editors : SfComboBox >
3738
3839 <treemap : SfTreeMap x : Name =" treeMap"
40+ x : DataType =" local:PopulationViewModel"
3941 Margin =" 8"
4042 Grid.Row=" 1"
4143 DataSource =" {Binding PopulationDetails}"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ public class LayoutTypes
44{
55 public LayoutTypes ( )
66 {
7+ Name = string . Empty ;
78 }
89
910 /// <summary>
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ public class PopulationDetails
44{
55 public PopulationDetails ( )
66 {
7+ Country = string . Empty ;
8+ Continent = string . Empty ;
79 }
810
911 /// <summary>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class LayoutTypeViewModel
1313 public ObservableCollection < LayoutTypes > LayoutType { get ; set ; }
1414
1515 /// <summary>
16- /// Initializes a new instance of the <see cref="LayoutTypeViewModel "/> class.
16+ /// Initializes a new instance of the <see cref="LayoutTypes "/> class.
1717 /// </summary>
1818 public LayoutTypeViewModel ( )
1919 {
Original file line number Diff line number Diff line change 11using System . Collections . ObjectModel ;
2- using TreeMapLayoutTypeChange ;
32
43namespace TreeMapLayoutTypeChange ;
54
@@ -9,7 +8,7 @@ namespace TreeMapLayoutTypeChange;
98public class PopulationViewModel
109{
1110 /// <summary>
12- /// Initializes a new instance of the <see cref="PopulationViewModel "/> class.
11+ /// Initializes a new instance of the <see cref="PopulationDetails "/> class.
1312 /// </summary>
1413 public PopulationViewModel ( )
1514 {
You can’t perform that action at this time.
0 commit comments