Skip to content

ISupportInitialize & UserControl: workaround for double BeginInit/EndInit

July 24, 2007

A forum post (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1907827&SiteID=1&mode=1) brought to our attention the fact that we fire ISupportInitialize.BeginInit and .EndInit too often in WPF 3.0 & 3.5.  I detail a workaround (that you’ll only want to use if you implement ISupportInitialize in your UserControl) in the forum post that should work fine, even after we fix this issue someday…

Advertisements

From → WPF

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: