2016-03-16 27 views

回答

0

如果你需要一個雙向綁定(視圖模型查看)而已,你可以使用BindTo方法:

TextBox textBox = new TextBox(); 
ViewModel.WhenAnyValue(model => model.PropertyToBind) 
     .BindTo(textBox, t => t.Text); 
相關問題