Mercurial > silverbladetech
comparison SilverlightGlimpse/SilverlightValidation/Views/UserListView.xaml.cs @ 71:96e6fbd70f49
Latest version
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Mon, 23 Apr 2012 14:54:24 +0100 |
parents | a0bcd783e612 |
children | 177a9d1eba10 |
comparison
equal
deleted
inserted
replaced
70:39ba36cc82c5 | 71:96e6fbd70f49 |
---|---|
6 | 6 |
7 namespace SilverlightValidation.Views | 7 namespace SilverlightValidation.Views |
8 { | 8 { |
9 public partial class UserListView | 9 public partial class UserListView |
10 { | 10 { |
11 private UserListViewModel vm; | 11 private readonly UserListViewModel vm; |
12 | 12 |
13 public UserListView() | 13 public UserListView() |
14 { | 14 { |
15 InitializeComponent(); | 15 InitializeComponent(); |
16 HtmlPage.Document.SetProperty("title", "Silverlight Validation"); | 16 HtmlPage.Document.SetProperty("title", "Silverlight Glimpse Demo"); |
17 | 17 |
18 vm = new UserListViewModel(Factory.CreateUserModels(), new UserModelValidator()); | 18 vm = new UserListViewModel(Factory.CreateUserModels(), new UserModelValidator()); |
19 this.DataContext = vm; | 19 this.DataContext = vm; |
20 } | 20 } |
21 | 21 |