Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - Silverlight - Comments http://blog.lexique-du-net.com/index.php? In this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things ! en Mon, 26 Feb 2024 15:40:43 +0100 Jonathan ANTOINE, All rights reserved http://blogs.law.harvard.edu/tech/rss Dotclear Migrate the Jetpack theme from Silverlight to WPF - Fredrik Duwell http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3121 urn:md5:da93773210002931355e537526bb4bda Mon, 01 Aug 2011 17:01:40 +0200 Fredrik Duwell <p>Isn't there any other way to make it work? I've been trying to make it expand, but when I click on the expander the arrow toggles, but the content doesn't show up!</p> Migrate the Jetpack theme from Silverlight to WPF - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3120 urn:md5:80d6df6900191684cd3ad76a8c6ed0b2 Sun, 31 Jul 2011 22:06:18 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3118" rel="nofollow">Fredrik Duwell</a>&nbsp;: Hey, the Expander can't be migrated because it does not have the same property thant the SL's one. You may try using the one is the amazingWPFControls codeplex project...&nbsp;</p> Migrate the Jetpack theme from Silverlight to WPF - Fredrik Duwell http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3118 urn:md5:f9a174f178f088a3fc53f1f7f6df64b1 Sun, 31 Jul 2011 20:53:54 +0200 Fredrik Duwell <p>Hi again!<br /> Couldn't you complete this UI? I'd need the expander, but it doesn't work - any ideas?</p> <p>/ Fredrik</p> Migrate the Jetpack theme from Silverlight to WPF - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3112 urn:md5:ddb02b325faa917e1457627d7a4b1581 Mon, 13 Jun 2011 13:49:44 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c2961" rel="nofollow">CK</a>&nbsp;: Hey, I updated the project on codeplex, it should be working now <img src="themes/default/smilies/smile.png" alt=":)" class="smiley" /></p> UIAutomation, Coded UI tests, AutomationPeer and WPF/silverlight custom controls - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c3111 urn:md5:de5748c7944f74a3795e3c9c411723c4 Mon, 13 Jun 2011 13:48:07 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c3110" rel="nofollow">Nina</a>&nbsp;: Hello, Sorry I can't help you on coded UI test for web application. I only test them with WPF <img src="themes/default/smilies/sad.png" alt=":-(" class="smiley" /></p> UIAutomation, Coded UI tests, AutomationPeer and WPF/silverlight custom controls - Nina http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c3110 urn:md5:6ea0e46764a9998f8b7d3ba43ac06365 Tue, 07 Jun 2011 02:43:56 +0200 Nina <p>If your web application using dynamic custom control which will only generate at runtime, what should be the best way to record these control in coded UI? i'm new to Code UI and we are currently having problem when those dynamic control is changing causing the Code UI Test fail and we have to re-record again.</p> UIAutomation, Coded UI tests, AutomationPeer and WPF/silverlight custom controls - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c3095 urn:md5:f5e60915965f719cc202f31a32e033ea Tue, 31 May 2011 22:37:13 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c3089" rel="nofollow">Dave</a>&nbsp;: I have no clue on how to do this.</p> <p>Maybe you can create your own customcontrol copying the BorderControl and put an AutomationPeer in it ?</p> Migrate the Jetpack theme from Silverlight to WPF - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3094 urn:md5:4d841e662a4d0ff56be43437efc0e490 Tue, 31 May 2011 22:36:31 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3077" rel="nofollow">alessandro</a>&nbsp;: Thank you, you are welcome <img src="themes/default/smilies/smile.png" alt=":)" class="smiley" /></p> Migrate the Jetpack theme from Silverlight to WPF - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3093 urn:md5:83e3f7eef69bcc294124c07564f55725 Tue, 31 May 2011 22:35:57 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3068" rel="nofollow">Fredrik</a>&nbsp;: I will do my best to fix it as soon as possible !</p> UIAutomation, Coded UI tests, AutomationPeer and WPF/silverlight custom controls - Dave http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c3089 urn:md5:def4364f7fbab02fa94e81f0cd1de2e1 Mon, 30 May 2011 16:18:50 +0200 Dave <p>Hey, cool post. thanks.<br /> One question:</p> <p>How can I create an automation peer for a border? By default, border is not supported for automation peers. But I will check in a coded UI test whether a specific background color in the border has been set or not.</p> <p>thanks for any help.</p> Migrate the Jetpack theme from Silverlight to WPF - alessandro http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3077 urn:md5:79e66d88f5195b0cccfdd97b72d21b70 Wed, 25 May 2011 12:23:02 +0200 alessandro <p>Johnathan, excellent! This is a great contribution indeed and saves us the conversion effort. I am happy.<br /> Many thanks!</p> Migrate the Jetpack theme from Silverlight to WPF - Fredrik http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c3068 urn:md5:f7d14ebebf731710ff4a8f756848c5e1 Sat, 21 May 2011 14:16:31 +0200 Fredrik <p>Hey!<br /> There's a problem with the tabcontrol.. It says:</p> <p>System.Reflection.TargetInvocationException<br /> Exception has been thrown by the target of an invocation.</p> <pre> at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)</pre> <p>Thank you!</p> Migrate the Jetpack theme from Silverlight to WPF - CK http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c2961 urn:md5:a4908bdc9454010c58a33b0ce6ccb51f Sun, 10 Apr 2011 20:54:05 +0200 CK <p>Hello Jonathan,<br /> Thanks for converting this style I was actually doing this myself last night then found your blog and it saved me the trouble. However I am having a few issues with your conversion.</p> <p>ProgressBars set to IsIndeterminate cause the editor to error saying:<br /> Cannot resolve all property references in the property path '(0).(1).(2)[ 0 ].X'.</p> <p>Which is on line 1448 of CoreStyles.xaml</p> <p>Another issue I found was with TabItems, Which is throwing this error:<br /> System.Windows.Media.Animation.ColorAnimationUsingKeyFrames' animation object cannot be used to animate property 'Foreground' because it is of incompatible type 'System.Windows.Media.Brush'.</p> <p>Which is on line 3013 of SDKStyles.xaml.</p> <p>I'm using Visual Studio 2010 with all the latest updates and such, along with the Windows Phone toolkit installed. I'm fairly new to WPF so figuring out how to fix these issues alone is proving troublesome. Any help would be greatly appreciated.</p> <p>On a side note, the application will still run when compiled, it just wont show in the designer due to these errors.</p> <p>Thanks,<br /> CK</p> [ping] UIAutomation, Coded UI tests, AutomationPeer and WPF/silverlight custom controls - DotNetKicks.com http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c2620 urn:md5:1f64191d83596336a8de38ba34352415 Thu, 24 Mar 2011 00:11:52 +0100 DotNetKicks.com <p><a href="http://www.dotnetkicks.com/wpf/UIAutomation_Coded_UI_tests_and_WPF_silverlight_custom_controls">UIAutomation, Coded UI tests and WPF/silverlight custom</a></p> <!-- TB --> <p>You've been kicked (a good thing) - Trackback from DotNetKicks.com...</p> [ping] UIAutomation, Coded UI tests, AutomationPeer and WPF/silverlight custom controls - DotNetShoutout http://blog.lexique-du-net.com/index.php?post/2011/03/23/UIAutomation%2C-Coded-UI-tests%2C-AutomationPeer-and-WPF-custom-controls#c2619 urn:md5:8d86e2c9ca36c45cd279a709f65cf272 Thu, 24 Mar 2011 00:10:32 +0100 DotNetShoutout <p><a href="http://dotnetshoutout.com/UIAutomation-Coded-UI-tests-AutomationPeer-and-WPFsilverlight-custom-controls">UIAutomation, Coded UI tests, AutomationPeer and</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from DotNetShoutout...</p> Migrate the Jetpack theme from Silverlight to WPF - Sam http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c2599 urn:md5:e48f6028ba319409884d0e7a86eb0cae Tue, 04 Jan 2011 14:55:01 +0100 Sam <p>Hello, this is excellent and very useful, thank you.<br /> Did you ever get round to migrating the DataGrid or DatePicker controls as well?<br /> Thanks<br /> Sam</p> Migrate the Jetpack theme from Silverlight to WPF - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c2525 urn:md5:5bec95a125a2ad59eee61188c8fea976 Tue, 30 Nov 2010 14:52:46 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c2524" rel="nofollow">guth William</a>&nbsp;: Thx for the comment, I will correct it ASAP</p> Migrate the Jetpack theme from Silverlight to WPF - guth William http://blog.lexique-du-net.com/index.php?post/2010/10/14/Migrate-the-Jetpack-theme-from-Silverlight-to-WPF#c2524 urn:md5:6d16f2bb8d13694b5e53afa4d7e2c4e1 Tue, 30 Nov 2010 13:25:20 +0100 guth William <p>thx for your work!</p> <p>I found this :<br /> <a href="http://live.mscommunity.net/blogs/borissevo/archive/2010/10/21/fix-for-the-bug-in-combobox-and-listbox-wpf-jetpack-theme.aspx" title="http://live.mscommunity.net/blogs/borissevo/archive/2010/10/21/fix-for-the-bug-in-combobox-and-listbox-wpf-jetpack-theme.aspx" rel="nofollow">http://live.mscommunity.net/blogs/b...</a></p> <p>and also:</p> <p>I have a probleme with the ListBox and DisplayMemberPath. They didn't work in my solutions.<br /> I fix the probleme like this:</p> <p>Replaced line 1647-1651 of Assets/CoreStyles.xaml (in ListBoxItem Template)</p> <pre> &lt;ContentControl x:Name="contentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Foreground="{TemplateBinding Foreground}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" /&gt;</pre> <p>by</p> <pre>&lt;ContentPresenter x:Name="contentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" /&gt;</pre> <p>maybe that's will interested someone but I'm not sure that the best way.</p> [RIA Services] Why the client extended entities won't use the default backing store value ? EDITED - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/11/19/%5BRIA-Services%5D-Why-the-client-extended-entities-won-t-use-the-default-backing-store-value#c2514 urn:md5:af4dceff71c2ccd5cde4ff190fb0ff37 Mon, 22 Nov 2010 01:33:22 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/11/19/%5BRIA-Services%5D-Why-the-client-extended-entities-won-t-use-the-default-backing-store-value#c2512" rel="nofollow">Jeff Handley</a>&nbsp;: thx for the info !</p> [RIA Services] Why the client extended entities won't use the default backing store value ? EDITED - Jeff Handley http://blog.lexique-du-net.com/index.php?post/2010/11/19/%5BRIA-Services%5D-Why-the-client-extended-entities-won-t-use-the-default-backing-store-value#c2512 urn:md5:432c026d52da2e872878164e2070036b Fri, 19 Nov 2010 18:38:58 +0100 Jeff Handley <p>Thanks for posting this. A note about the issue where re-loaded or submitted entities have their client-only properties overwritten with the default values: it will NOT be fixed in SP1. We are still evaluating designs for how we could address that in the best way possible.</p>