WPF/MVVM學習筆記(2)

2 綁定command 第一步,在viewmodel聲明一個ICommand對象 第二步,創建一個command調用的方法 第三步,實例化聲明的ICommand對象 private string showtext; public string ShowText { get { return showtext; } s
相關文章
相關標籤/搜索