<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0"><channel><title>Unknown Recipes</title><link>http://weblogs.asp.net/marianor/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/WPFUnknownRecipes" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>C# Code Snippets for properties raising PropertyChanged event</title><link>http://weblogs.asp.net/marianor/archive/2009/08/17/c-code-snippets-for-properties-raising-propertychanged-event.aspx</link><pubDate>Mon, 17 Aug 2009 13:07:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7171277</guid><dc:creator>marianor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7171277</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/08/17/c-code-snippets-for-properties-raising-propertychanged-event.aspx#comments</comments><description>I decided to publish the snippets I use to implement properties that raise the PropertyChanged event. There are two code snippets, one generates a property raising the event, it is called by typing propnpc in the code editor, and generates the following...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/08/17/c-code-snippets-for-properties-raising-propertychanged-event.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7171277" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>MOQ 3.5 Beta released</title><link>http://weblogs.asp.net/marianor/archive/2009/07/16/moq-3-5-beta-released.aspx</link><pubDate>Fri, 17 Jul 2009 01:08:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7148967</guid><dc:creator>marianor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7148967</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/07/16/moq-3-5-beta-released.aspx#comments</comments><description>MOQ 3.5 Beta was released, it includes a lot of fixes of the previous version. You can get the binaries here . If you are using Visual Studio 2010 you should download the version called: Moq 3.5 Beta Binaries and Help (with Castle Assemblies) ....(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/07/16/moq-3-5-beta-released.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7148967" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>How to get notifications in attached properties</title><link>http://weblogs.asp.net/marianor/archive/2009/07/13/how-to-get-notifications-in-attached-properties.aspx</link><pubDate>Mon, 13 Jul 2009 17:41:22 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7146666</guid><dc:creator>marianor</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7146666</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/07/13/how-to-get-notifications-in-attached-properties.aspx#comments</comments><description>Sometime we need to know when an attached property change its value for a specific FrameworkElement. For example consider the following: &amp;lt; Canvas &amp;gt; &amp;lt; Button x : Name =&amp;quot;move&amp;quot; Content =&amp;quot;Move&amp;quot; Canvas.Left =&amp;quot;10&amp;quot; Canvas...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/07/13/how-to-get-notifications-in-attached-properties.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7146666" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/WPF/default.aspx">WPF</category></item><item><title>How to force a binding to update</title><link>http://weblogs.asp.net/marianor/archive/2009/06/04/how-to-force-a-binding-to-update.aspx</link><pubDate>Thu, 04 Jun 2009 14:24:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7108086</guid><dc:creator>marianor</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7108086</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/06/04/how-to-force-a-binding-to-update.aspx#comments</comments><description>It is really very simple, all that we need is the FrameworkElement and the DependencyProperty that we need refresh. I did some extensions method to update the target or the source of the binding: public static class BindingExtensions { &amp;#160;&amp;#160;&amp;#160;...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/06/04/how-to-force-a-binding-to-update.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7108086" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/WPF/default.aspx">WPF</category></item><item><title>Publish a Clickonce deploy with assemblies not referenced in Visual Studio 2008 SP1</title><link>http://weblogs.asp.net/marianor/archive/2009/05/01/publish-a-clickonce-deploy-with-assemblies-not-referenced-in-visual-studio-2008-sp1.aspx</link><pubDate>Fri, 01 May 2009 13:29:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7069836</guid><dc:creator>marianor</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7069836</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/05/01/publish-a-clickonce-deploy-with-assemblies-not-referenced-in-visual-studio-2008-sp1.aspx#comments</comments><description>Some time ago I wrote a post about this subject, but that post only apply to Visual Studio 2005. The targets used in that post where changed. Basically this post is an update to Visual Studio 2008 SP1. Note that this post does not apply to Visual Studio...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/05/01/publish-a-clickonce-deploy-with-assemblies-not-referenced-in-visual-studio-2008-sp1.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7069836" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/MSBuild/default.aspx">MSBuild</category></item><item><title>How to disable Copy and Paste for a control in WPF</title><link>http://weblogs.asp.net/marianor/archive/2009/04/28/how-to-disable-copy-and-paste-for-a-control-in-wpf.aspx</link><pubDate>Tue, 28 Apr 2009 19:40:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7063957</guid><dc:creator>marianor</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7063957</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/04/28/how-to-disable-copy-and-paste-for-a-control-in-wpf.aspx#comments</comments><description>By default all the TextBox ’s (an other controls) in WPF have a default ContextMenu that allows copy, paste and cut. You can disable this menu by setting this property as “{x:Null}”, but the keys associated with the menu options still work. In order to...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/04/28/how-to-disable-copy-and-paste-for-a-control-in-wpf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7063957" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/WPF/default.aspx">WPF</category></item><item><title>WPF Validation with Attributes and IDataErrorInfo interface in MVVM</title><link>http://weblogs.asp.net/marianor/archive/2009/04/17/wpf-validation-with-attributes-and-idataerrorinfo-interface-in-mvvm.aspx</link><pubDate>Fri, 17 Apr 2009 13:49:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7048875</guid><dc:creator>marianor</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7048875</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/04/17/wpf-validation-with-attributes-and-idataerrorinfo-interface-in-mvvm.aspx#comments</comments><description>WPF provides validation infrastructure for binding scenarios through IDataErrorInfo interface. Basically you have to implement the Item[columnName] property putting the validation logic for each property in your Model (or ModelView) requiring validation...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/04/17/wpf-validation-with-attributes-and-idataerrorinfo-interface-in-mvvm.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7048875" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/WPF/default.aspx">WPF</category></item><item><title>MOQ 3.1 released</title><link>http://weblogs.asp.net/marianor/archive/2009/04/16/moq-3-1-released.aspx</link><pubDate>Thu, 16 Apr 2009 23:11:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7048494</guid><dc:creator>marianor</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7048494</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/04/16/moq-3-1-released.aspx#comments</comments><description>Finally MOQ 3.1 was released, it includes a lot of fixes of the previous version (3.0). You can get the binaries here ....(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/04/16/moq-3-1-released.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7048494" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>Using expression trees to get property getter and setters</title><link>http://weblogs.asp.net/marianor/archive/2009/04/10/using-expression-trees-to-get-property-getter-and-setters.aspx</link><pubDate>Fri, 10 Apr 2009 15:55:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7040607</guid><dc:creator>marianor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=7040607</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/04/10/using-expression-trees-to-get-property-getter-and-setters.aspx#comments</comments><description>There are times when you need get and set property values and you do not know the type of the properties. One option is use reflection through GetValue and SetValue from PropertyInfo class, but this wears to poor performance in our code. In order to do...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/04/10/using-expression-trees-to-get-property-getter-and-setters.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7040607" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>Moq 3.0 Final</title><link>http://weblogs.asp.net/marianor/archive/2009/03/06/moq-3-0-final.aspx</link><pubDate>Fri, 06 Mar 2009 23:23:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6943585</guid><dc:creator>marianor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=6943585</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/03/06/moq-3-0-final.aspx#comments</comments><description>Finally the new version of Moq is released, check the new improvements and fixes here . You can get the binaries from http://moq.me/get . Enjoy It !!!...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/03/06/moq-3-0-final.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6943585" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>Sticky notes add-in for Visual Studio</title><link>http://weblogs.asp.net/marianor/archive/2009/01/07/sticky-notes-add-in-for-visual-studio.aspx</link><pubDate>Wed, 07 Jan 2009 19:53:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6824174</guid><dc:creator>marianor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=6824174</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/01/07/sticky-notes-add-in-for-visual-studio.aspx#comments</comments><description>My coworker Pablo has released a nice Visual Studio add-in called Sticky Notes . Basically this add-in allows to write sticky notes in your code , that can be private notes or team notes....(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/01/07/sticky-notes-add-in-for-visual-studio.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6824174" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>Easy way to compare two XMLs for equality</title><link>http://weblogs.asp.net/marianor/archive/2009/01/02/easy-way-to-compare-two-xmls-for-equality.aspx</link><pubDate>Fri, 02 Jan 2009 03:44:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6889690</guid><dc:creator>marianor</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=6889690</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2009/01/02/easy-way-to-compare-two-xmls-for-equality.aspx#comments</comments><description>The first thing to do is normalize to two XMLs, for this you can use a small method using Linq: &amp;#160; private static XElement Normalize( XElement element) { &amp;#160;&amp;#160;&amp;#160; if (element.HasElements) &amp;#160;&amp;#160;&amp;#160; { &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;...(&lt;a href="http://weblogs.asp.net/marianor/archive/2009/01/02/easy-way-to-compare-two-xmls-for-equality.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6889690" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category><category domain="http://weblogs.asp.net/marianor/archive/tags/Linq/default.aspx">Linq</category></item><item><title>Formating in WPF binding</title><link>http://weblogs.asp.net/marianor/archive/2008/08/15/formating-in-wpf-binding.aspx</link><pubDate>Fri, 15 Aug 2008 18:27:50 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6523651</guid><dc:creator>marianor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=6523651</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2008/08/15/formating-in-wpf-binding.aspx#comments</comments><description>Some time ago I wrote a post about how to format fields in a binding expression. It included the use of an IValueConverter to apply the format, now with .NET framework 3.5 SP1 that is not necessary anymore, because it&amp;#160; provides a new parameter in...(&lt;a href="http://weblogs.asp.net/marianor/archive/2008/08/15/formating-in-wpf-binding.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6523651" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/WPF/default.aspx">WPF</category></item><item><title>Simulating command line parameters in Click Once applications</title><link>http://weblogs.asp.net/marianor/archive/2008/03/08/simulating-command-line-parameters-in-click-once-applications.aspx</link><pubDate>Sat, 08 Mar 2008 18:48:57 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5939418</guid><dc:creator>marianor</dc:creator><slash:comments>5</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=5939418</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2008/03/08/simulating-command-line-parameters-in-click-once-applications.aspx#comments</comments><description>The impossibility of send command line arguments to an application in a standard way is one disappointed thing about ClickOnce. However we can send query string arguments in order to simulate command line arguments. First, we will need to enable the application...(&lt;a href="http://weblogs.asp.net/marianor/archive/2008/03/08/simulating-command-line-parameters-in-click-once-applications.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5939418" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/General/default.aspx">General</category></item><item><title>Multiselect ListView with checkboxes in WPF</title><link>http://weblogs.asp.net/marianor/archive/2008/02/04/multiselect-listview-with-checkboxes-in-wpf.aspx</link><pubDate>Mon, 04 Feb 2008 19:49:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5709331</guid><dc:creator>marianor</dc:creator><slash:comments>9</slash:comments><wfw:commentRss>http://weblogs.asp.net/marianor/rsscomments.aspx?PostID=5709331</wfw:commentRss><comments>http://weblogs.asp.net/marianor/archive/2008/02/04/multiselect-listview-with-checkboxes-in-wpf.aspx#comments</comments><description>The main idea to accomplish this is replace the item template in the ListView and the default behavior in the item selection. The first thing we need is generate an item template containing the checkbox an the text we want to show it. The template is...(&lt;a href="http://weblogs.asp.net/marianor/archive/2008/02/04/multiselect-listview-with-checkboxes-in-wpf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5709331" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/marianor/archive/tags/WPF/default.aspx">WPF</category></item></channel></rss>
