Object reference not set to an instance of an object.

  找了很久,再一層一層過濾後發現是DataTemplate 內的 因為在DataTemplate內找不到ViewModel, 將ViewModel中的ButtonClick寫在Collection Type 的Class 內即可..

arrow
arrow
    全站熱搜

    小賢 發表在 痞客邦 留言(0) 人氣()