續上篇,這篇要分享的是展開 Master 後,去撈 Deatil 的資料
關鍵技巧
ViewModel:
Master 要有 Detail 屬性,型別要用 List<T>
MainView:
this.Master_GridView.OptionsDetail.AllowExpandEmptyDetails = true;
this.Master_GridView.MasterRowExpanding += this.Master_GridView_MasterRowExpanding;