Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NestedUserControlsWindowViewModel"/> class.
 /// </summary>
 public NestedUserControlsWindowViewModel()
 {
     Houses = new ObservableCollection <HouseModel>(ModelGenerator.GenerateHouses());
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainPageViewModel"/> class.
 /// </summary>
 public MainPageViewModel()
 {
     Houses = new ObservableCollection <HouseModel>(ModelGenerator.GenerateHouses());
 }
Exemple #3
0
        public MainViewModel()
        {
            Houses = new ObservableCollection <HouseModel>(ModelGenerator.GenerateHouses());

            Title = "Nested User Controls Example";
        }