<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.microsoft.co.il/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>Essential XAML - All Comments</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/</link><description>The Hitchhiker’s Guide to XAML Apps</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>re: WPF is DPI Dependent</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2007/11/30/wpf-is-dpi-depended.aspx#2111862</link><pubDate>Mon, 03 Jun 2013 12:44:41 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:2111862</guid><dc:creator>CsharpDev</dc:creator><description>&lt;p&gt;@Ian Griffiths :&lt;/p&gt;
&lt;p&gt;Your answer makes more than 1 page on my screen.&lt;/p&gt;
&lt;p&gt;What about keeping things simple when they could be simple ?&lt;/p&gt;
&lt;p&gt;If I say I want an image or a button or anything 100 pixels by 100, I think WPF should allow me to have such a size, not more, not less, and without having to search among thousands of posts how to get this result.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=2111862" width="1" height="1"&gt;</description></item><item><title>re: WPF Data Validation using .NET Data Annotations – Part II</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2010/10/28/wpf-data-validation-using-net-data-annotations-part-ii.aspx#2027885</link><pubDate>Mon, 13 May 2013 14:10:53 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:2027885</guid><dc:creator>Christian</dc:creator><description>&lt;p&gt;Great article indeed :)&lt;/p&gt;
&lt;p&gt;Is there a way to not validate on initial binding or render? The problem I see is that the field is validate when the control is rendered but I want it to validate first when it looses focus the first time or when requested.&lt;/p&gt;
&lt;p&gt;//Christian&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=2027885" width="1" height="1"&gt;</description></item><item><title>re: WPF DataGrid Search and Highlight</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2009/08/27/wpf-datagrid-search-and-highlight.aspx#1958423</link><pubDate>Fri, 26 Apr 2013 02:32:03 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1958423</guid><dc:creator>Sean Lee</dc:creator><description>&lt;p&gt;If you are using DataGrid which is part of .NET 4.0, look at the link I found:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://stackoverflow.com/questions/15467553/proper-datagrid-search-from-textbox-in-wpf-using-mvvm"&gt;stackoverflow.com/.../proper-datagrid-search-from-textbox-in-wpf-using-mvvm&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1958423" width="1" height="1"&gt;</description></item><item><title>re: Get screen resolution in Windows 8 Metro style application</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2012/07/24/get-screen-resolution-in-windows-8-metro-style-application.aspx#1947097</link><pubDate>Wed, 24 Apr 2013 05:42:58 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1947097</guid><dc:creator>Tomer Shamam</dc:creator><description>&lt;p&gt;No. It supposed to work with all builds.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1947097" width="1" height="1"&gt;</description></item><item><title>re: WPF Performance Sweets – ContentControl (Part 2)</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2009/09/17/wpf-performance-sweets-contentcontrol-part-2.aspx#1828538</link><pubDate>Tue, 26 Mar 2013 09:05:34 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1828538</guid><dc:creator>Dave</dc:creator><description>&lt;p&gt;I an across what looks like the equivalent issue in SL5 last week where my complex view was taking more than 20s elapsed to close! &amp;nbsp;My solution is to navigate down the visual tree, building a list of Panels on the way, then traverse the list backwards, calling panel.Children.Clear() for each item. I was able to come up with this solution thanks to your findings in pt1 of this article.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1828538" width="1" height="1"&gt;</description></item><item><title>re: WPF Localization - On-the-fly Language Selection</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2007/10/30/wpf-localization-on-the-fly-language-selection.aspx#1814766</link><pubDate>Wed, 20 Mar 2013 15:00:29 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1814766</guid><dc:creator>Pragya</dc:creator><description>&lt;p&gt;While loading german language file, we are getting following exception : &lt;/p&gt;
&lt;p&gt;&amp;#39;Schlie&amp;#223;en&amp;#39; is an unexpected token. Expecting white space. Line 455, position 108.&lt;/p&gt;
&lt;p&gt;Following is the snippet from &amp;#39;de-DE.xml&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;lt;Value Id=&amp;quot;msgExit&amp;quot; Text=&amp;quot;Schlie&amp;#223;en&amp;quot; /&amp;gt; &lt;/p&gt;
&lt;p&gt;The encoding of the xml is UTF-8 only.&lt;/p&gt;
&lt;p&gt;Requesting you suggest something for this problem.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1814766" width="1" height="1"&gt;</description></item><item><title>re: Blendability Part I – Design time ViewModel</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2010/12/17/blendability-part-i-design-time-viewmodel.aspx#1802355</link><pubDate>Fri, 15 Mar 2013 16:50:59 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1802355</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Great saved loads of effort with some of my view, it doesn&amp;#39;t work with ICollectionView though which is a shame.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1802355" width="1" height="1"&gt;</description></item><item><title>re: Windows Phone 7 Custom Message Box</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2010/10/19/windows-phone-7-custom-message-box.aspx#1784241</link><pubDate>Thu, 07 Mar 2013 13:00:24 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1784241</guid><dc:creator>JAck</dc:creator><description>&lt;p&gt;I am trying to your code implement my project but I write NotificationBOx.show() it giives me error. It suggest me only 3 (showagaintext,showagainproperty,showagainoption). What i do?&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1784241" width="1" height="1"&gt;</description></item><item><title>re: Get screen resolution in Windows 8 Metro style application</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2012/07/24/get-screen-resolution-in-windows-8-metro-style-application.aspx#1757527</link><pubDate>Thu, 21 Feb 2013 06:20:59 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1757527</guid><dc:creator>Emmanuel Huna</dc:creator><description>&lt;p&gt;Since the C++ project needs Win32, the TestApp can only be compiled in x86. &amp;nbsp;Does this mean that if we use this that the app cannot work on ARM, so it won&amp;#39;t work on the Surface RT?&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1757527" width="1" height="1"&gt;</description></item><item><title>re: Open Links inside the WebBrowser control or outside using IE</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2011/08/14/open-links-inside-the-webbrowser-control-or-outside-using-ie.aspx#1736927</link><pubDate>Thu, 07 Feb 2013 15:14:38 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1736927</guid><dc:creator>Suresh</dc:creator><description>&lt;p&gt;Wow man, you are awesome. I was fighting to resolve this for last one week. There you are. Thank you.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1736927" width="1" height="1"&gt;</description></item><item><title>re: WPF Image Processing</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2007/09/21/wpf-image-processing.aspx#1736321</link><pubDate>Thu, 07 Feb 2013 08:23:27 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1736321</guid><dc:creator>nb</dc:creator><description>&lt;p&gt;Thanks for the code. I tried it to an InteropBitmap (to get its internal lock, see &lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/291b66fc-8c8f-4f9a-969c-86478c5858a6"&gt;social.msdn.microsoft.com/.../291b66fc-8c8f-4f9a-969c-86478c5858a6&lt;/a&gt;), but it fails during the call to the following line:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Execute our static Lock() method&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hr = (int)lockmethod.Invoke(null, args);&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1736321" width="1" height="1"&gt;</description></item><item><title>re: WPF Localization - On-the-fly Language Selection</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2007/10/30/wpf-localization-on-the-fly-language-selection.aspx#1735325</link><pubDate>Wed, 06 Feb 2013 19:00:43 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1735325</guid><dc:creator>Yves</dc:creator><description>&lt;p&gt;Hi Tomer,&lt;/p&gt;
&lt;p&gt;could you please explain how this all works? I&amp;#39;m trying to do something similar and create a MarkupExtension that can translate arbitrary, specified text keys into strings, but also regards a specified counting value to use specialised translations. Like &amp;quot;one day&amp;quot; but &amp;quot;4 days&amp;quot;. This count parameter must be bindable because it can change.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to follow your code, starting in the TranslateExtension.BindDictionary method, but I can&amp;#39;t follow it anywhere. It returns a BindingExpression instance and that&amp;#39;s all, and it seems to work. Is it understandable what your code does and why it works? How did you find out about it all?&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t even tried to understand the MultiBinding part yet, though it looks interesting.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1735325" width="1" height="1"&gt;</description></item><item><title>re: New Windows 8 Store Apps Development with C# 6 days Course</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2013/01/14/new-windows-8-store-apps-development-with-c-6-days-course.aspx#1666358</link><pubDate>Wed, 16 Jan 2013 00:23:27 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1666358</guid><dc:creator>Alon.</dc:creator><description>&lt;p&gt;This is a must have course for anyone that need to start developing Windows 8 applications using XAML. Tomer was the leader in XAML and WPF development since .NET 3.0 and in the last couple months Tomer has led several complex Windows 8 application using XAML, C# and even C++. &lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1666358" width="1" height="1"&gt;</description></item><item><title>re: Displaying user Messages, Errors and Dialogs from a ViewModel using a Service – Part 1</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2012/12/17/displaying-user-messages-errors-and-dialogs-from-a-viewmodel-using-a-service-part-1.aspx#1571010</link><pubDate>Wed, 19 Dec 2012 19:08:28 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1571010</guid><dc:creator>Tomer Shamam</dc:creator><description>&lt;p&gt;Never thought you did, but really, I'm not so familiar with Caliburn.Micro. In that case, if we thought about the same ideas it seems like we're in the right direction :)&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1571010" width="1" height="1"&gt;</description></item><item><title>re: Displaying user Messages, Errors and Dialogs from a ViewModel using a Service – Part 1</title><link>http://blogs.microsoft.co.il/blogs/tomershamam/archive/2012/12/17/displaying-user-messages-errors-and-dialogs-from-a-viewmodel-using-a-service-part-1.aspx#1567302</link><pubDate>Tue, 18 Dec 2012 20:18:46 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:1567302</guid><dc:creator>Rob</dc:creator><description>&lt;p&gt;I agree. I wasn&amp;#39;t criticizing your article. I just wanted to make sure you knew of the similarities to Caliburn.Micro. It&amp;#39;s almost always good for people to understand the why and how.&lt;/p&gt;
&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=1567302" width="1" height="1"&gt;</description></item></channel></rss>