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

            Title = "Nested User Controls Example";
        }