tag:blogger.com,1999:blog-5295746446529817470.post5191789389352624796..comments2023-05-09T16:29:24.130+02:00Comments on Dotnet by Example: Using MVVMLight, ItemsControl, Blend and behaviors to make a ‘heads up compass’Joost van Schaikhttp://www.blogger.com/profile/02182444268071162776noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5295746446529817470.post-19306557103218064012011-11-24T10:13:39.721+01:002011-11-24T10:13:39.721+01:00... just like the HeadsUpCompass app on the Market...... just like the HeadsUpCompass app on the Marketplace then?...Chttps://www.blogger.com/profile/13660140903456392426noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-29971823293818553582011-11-23T14:45:10.760+01:002011-11-23T14:45:10.760+01:00@peSHir: you comments are, as usual, quite to the ...@peSHir: you comments are, as usual, quite to the point. You are right, I have been contemplating doing this differently, but then again it would be overdoing it a bit for a simple sample. It would be easy to make another behavior doing this based upon a property that changes value. Maybe something for a next post ;-)Joost van Schaikhttps://www.blogger.com/profile/02182444268071162776noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-77652277069724004812011-11-23T09:23:38.418+01:002011-11-23T09:23:38.418+01:00Cool!
But isn't a Model using MessageBox.Show...Cool!<br /><br />But isn't a Model using MessageBox.Show to show error messages a breach of MVVM principles? Shouldn't a view be doing the MessageBox.Show, reacting to an exception/event from the Model?<br /><br />I know: blogpost was long enough already. "Left as exercise for the reader." ;-)<br /><br />Keep up posting stuff like this, and you'll be able to add that 2012 disk to your MVP Award when they are giving those out. Seriously..peSHIrhttps://www.blogger.com/profile/14895291650174860198noreply@blogger.com