/// <summary> /// Initializes a new instance of the <see cref="NestedUserControlsWindowViewModel"/> class. /// </summary> public NestedUserControlsWindowViewModel() { Houses = new ObservableCollection <HouseModel>(ModelGenerator.GenerateHouses()); }
/// <summary> /// Initializes a new instance of the <see cref="MainPageViewModel"/> class. /// </summary> public MainPageViewModel() { Houses = new ObservableCollection <HouseModel>(ModelGenerator.GenerateHouses()); }
public MainViewModel() { Houses = new ObservableCollection <HouseModel>(ModelGenerator.GenerateHouses()); Title = "Nested User Controls Example"; }