示例#1
0
 public Books(Book book)
 {
     InitializeComponent();
     BindingContext = new BooksViewModel(book);
 }
示例#2
0
 public BooksView()
 {
     InitializeComponent();
     DataContext = new BooksViewModel();
 }