<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : propertychanged event for mvvm</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : propertychanged event for mvvm</description>
  <pubDate>Tue, 21 Apr 2026 15:51:05 -700</pubDate>
  <lastBuildDate>Fri, 23 Jul 2010 15:08:39 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2002</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>propertychanged event for mvvm : The PropertyChanged events do...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2002&amp;PID=7790#7790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2002<br /><strong>Posted:</strong> 23-Jul-2010 at 3:08pm<br /><br /><P>The PropertyChanged events do not fire when the entity is in a detached state (this is the state a new entity is in before adding it to an EntityManager).&nbsp; Once you call entityManager.AddEntity(myEmployee) it will start firing.</P>]]>
   </description>
   <pubDate>Fri, 23 Jul 2010 15:08:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2002&amp;PID=7790#7790</guid>
  </item> 
  <item>
   <title>propertychanged event for mvvm : Ok it seems it is firing for edits...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2002&amp;PID=7788#7788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=870" rel="nofollow">hueha</a><br /><strong>Subject:</strong> 2002<br /><strong>Posted:</strong> 23-Jul-2010 at 1:59pm<br /><br />Ok it seems it is firing for edits when I load the object from the database but not when it's fresh new object.&nbsp; Is this a bug?]]>
   </description>
   <pubDate>Fri, 23 Jul 2010 13:59:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2002&amp;PID=7788#7788</guid>
  </item> 
  <item>
   <title>propertychanged event for mvvm :  I&amp;#039;m trying to implement...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2002&amp;PID=7787#7787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=870" rel="nofollow">hueha</a><br /><strong>Subject:</strong> 2002<br /><strong>Posted:</strong> 23-Jul-2010 at 1:47pm<br /><br />I'm trying to implement mvvm in my class.&nbsp; I want to catch the propertychanged event in the entity class and bubble it up.<br><br>Using your simplecombobox project as an example I added the following class to the simplecombodemo project.&nbsp; Am I catching the propertychanged event correctly?&nbsp; Because I am not getting the propertychanged event when I do Class1.Employee.Address="abc"<br><br><br>using System;<br>using System.Net;<br>using System.Windows;<br>using System.Windows.Controls;<br>using System.Windows.Documents;<br>using System.Windows.Ink;<br>using System.Windows.Input;<br>using System.Windows.Media;<br>using System.Windows.Media.Animation;<br>using System.Windows.Shapes;<br>using System.ComponentModel;<br>using IdeaBlade.EntityModel;<br><br>namespace SimpleComboDemo<br>{<br>&nbsp;&nbsp;&nbsp; public class Class1<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private Employee myEmployee;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public string propname;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Employee Employee<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get { return myEmployee; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Class1()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myEmployee = new Employee();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myEmployee.PropertyChanged += new PropertyChangedEventHandler(MyCust_PropertyChanged);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void MyCust_PropertyChanged(object sender, PropertyChangedEventArgs e)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var propchange = e.PropertyName;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br><br><span style="font-size:10px"><br /><br />Edited by hueha - 23-Jul-2010 at 1:50pm</span>]]>
   </description>
   <pubDate>Fri, 23 Jul 2010 13:47:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2002&amp;PID=7787#7787</guid>
  </item> 
 </channel>
</rss>