<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Loaded event and the Initialized event</title><link>http://blogs.msdn.com/b/mikehillberg/archive/2006/09/19/loadedvsinitialized.aspx</link><description>In WPF, controls have both a Loaded even and an Initialized event. Initializing and loading a control tend to happen at about the same time, and consequently these events fire at roughly the same time. But they have slightly – though important – different</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: The Loaded event and the Initialized event</title><link>http://blogs.msdn.com/b/mikehillberg/archive/2006/09/19/loadedvsinitialized.aspx#10215855</link><pubDate>Fri, 23 Sep 2011 14:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10215855</guid><dc:creator>KVK Consultancy</dc:creator><description>&lt;p&gt;Important note, if you perform any task in the Initilise or Loaded that allows continued event processing you can lose the Loaded event (it will not reach the event handler you set) and any state changes to the window state property applied after such will not be honoured. &lt;/p&gt;
&lt;p&gt;Therefore, it is not advisable to have the initilise launch (for example) a modal sub-window.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10215855" width="1" height="1"&gt;</description></item><item><title>How to know when a control has been rendered?</title><link>http://blogs.msdn.com/b/mikehillberg/archive/2006/09/19/loadedvsinitialized.aspx#8717563</link><pubDate>Thu, 10 Jul 2008 19:23:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8717563</guid><dc:creator>karik007</dc:creator><description>&lt;p&gt;Hi Mike!&lt;/p&gt;
&lt;p&gt;I have found your article while looking for a solution on the following problem.&lt;/p&gt;
&lt;p&gt;The thing is I need to track the performance of a WPF control, in other words measure its rendering time. In WinForms there is a Paint to which I can subscribed and to read time required on rendering. Unfortunately, I could not find an equivalent in WPF. Probably, you might know something about it?&lt;/p&gt;
&lt;p&gt;It would be nice if you could answer this question, cause I have met a lot of similar problems on Microsoft WPF forums.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;P.S. I will periodically check your blog, thus you may answer here. For any case I have an account karik007 at hotmail dot com server&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8717563" width="1" height="1"&gt;</description></item><item><title>XAML and ISupportInitialize</title><link>http://blogs.msdn.com/b/mikehillberg/archive/2006/09/19/loadedvsinitialized.aspx#8410187</link><pubDate>Sat, 19 Apr 2008 17:18:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8410187</guid><dc:creator>Rob Relyea - Xamlified</dc:creator><description>&lt;p&gt;In the .Net Framework 3.0 and later, when objects are created by loading XAML, we check to see if they&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8410187" width="1" height="1"&gt;</description></item><item><title>re: The Loaded event and the Initialized event</title><link>http://blogs.msdn.com/b/mikehillberg/archive/2006/09/19/loadedvsinitialized.aspx#5597268</link><pubDate>Mon, 22 Oct 2007 14:38:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5597268</guid><dc:creator>marlongrech</dc:creator><description>&lt;p&gt;Nice article... If I may add the Loaded Event is also raised when ever a UI Element is loaded and unloaded. Such a case would be if you have a button named 'x' in Tab 'A', when the user switches to Tab 'B' an UnLoaded event is raised for x. When the user switches back to Tab A an Loaded event is raised for x, but not an Initialized event.... This is another difference between them&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5597268" width="1" height="1"&gt;</description></item></channel></rss>