阅读背景:

在XAML中设置时,在代码中访问DataContext实例

来源:互联网 

I usually instantiate my ViewModel in codebehind and set it as the DataContext for the Window or UserControl. I usually instantiate my ViewModel in codebehin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: