阅读背景:

根据Silverlight 4中的业务规则标准,使用M-V-VM光标记DataGrid行。

来源:互联网 

I've written code to change the foreground property of a DataGrid cell if the row containing that cell meets a given rule (let's say its text must have the value "Incomplete"). I can make this work fairly easy by catching the LoadingRow event in code behind and writing my logic there, but I feel like this is not a very elegant MVVM implementation. Here's the code:I've written code to change the foreground prop




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

分享到: