tag:blogger.com,1999:blog-8085117242240449595.post6415130898045969979..comments2023-12-21T05:46:31.718-05:00Comments on Muhammad Shujaat Siddiqi: WPF - Attached behaviors (Closing View from ViewModel)Muhammad Shujaat Siddiqihttp://www.blogger.com/profile/02519138704633566929noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8085117242240449595.post-18849087454228962032014-04-24T01:52:38.031-04:002014-04-24T01:52:38.031-04:00Hi Michael,
Generally you don't have any depe...Hi Michael,<br /><br />Generally you don't have any dependency properties in your view models. so you don't need to inherit from DependencyObject. Plus, you might not need to access dispatcher in view models.<br /><br />There is an msdn article which compares binding to CLR objects (implementing and not implementing INotifyPropertyChanged) and DependencyObject.<br /><br />http://msdn.microsoft.com/en-us/library/bb613546(v=vs.110).aspx<br /><br />Muhammad Shujaat Siddiqihttps://www.blogger.com/profile/02519138704633566929noreply@blogger.comtag:blogger.com,1999:blog-8085117242240449595.post-34169111240299837222014-04-22T20:43:37.146-04:002014-04-22T20:43:37.146-04:00Thank you for your excellent post.
We noticed tha...Thank you for your excellent post.<br /><br />We noticed that in the example DependencyObject implement versus INotifyPropertyChanged. Please comment on the advantages of implementing DependencyObject over the later.<br /><br />Regards,<br />Michael Perini<br /><br />Anonymoushttps://www.blogger.com/profile/03414334869215522068noreply@blogger.comtag:blogger.com,1999:blog-8085117242240449595.post-5613325782047153842014-04-22T20:38:23.060-04:002014-04-22T20:38:23.060-04:00Thank you for this post.
What are your thoughts ...Thank you for this post. <br /><br />What are your thoughts of implementing DependencyObject versus INotifyPropertyChanged? Once of the posts showed that DependencyObject provided better performance.Anonymoushttps://www.blogger.com/profile/03414334869215522068noreply@blogger.comtag:blogger.com,1999:blog-8085117242240449595.post-73139024179098745122013-01-11T07:47:57.076-05:002013-01-11T07:47:57.076-05:00Very nice, thank you!Very nice, thank you!Valohttps://www.blogger.com/profile/02276150832039252485noreply@blogger.com