阅读背景:

WPF Button内容基于DataContext设置

来源:互联网 

I'm working with WPF and MVVM pattern, I have a simple view which consists of a Button, which should display one thing or another depending on a property of the DataContext (viewmodel) I've used datatriggers and datatemplates to try make this work, but for some reason the binding is not evaluating (or i'm doing something wrong).I'm working with WPF and MVVM pattern, I have a




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

分享到: