DotNetShoutout - Stories tagged with How-To
2
Shouts

Coded UI Tests : Property “ReadOnly” cannot be retrieved due to the current state of Edit

published 493 days, 28 minutes ago posted by jmix90jmix90 495 days, 12 hours, 46 minutes ago
Friday, January 13, 2012 7:23:16 AM GMT Tuesday, January 10, 2012 7:05:14 PM GMT
Did you ever encounter this error while trying to retrieve a property value from an AutomationElement ? I did ! Don’t worry, there is always a work-around, and I’ve found one. In this post, we’ll dig a little more into this issue and give a little example of the “Coded UI Tests” fun ! (more)
category: How To | clicked: 20 | 2 comments | | source: www.jonathanantoine.com
tags: Coded UI Test, How-To, WPF, Tests, UI, Testing, coded ui tests
3
Shouts

3D and Azure : yes we can ! (Help me win a Nokia Lumia !)

published 510 days, 23 hours, 35 minutes ago posted by jmix90jmix90 513 days, 22 hours, 16 minutes ago
Monday, December 26, 2011 8:15:27 AM GMT Friday, December 23, 2011 9:35:07 AM GMT
In the past, I played a lot with 3D inside WPF. A few days ago, I discovered something awesome : using the power of the Cloud to create beautiful 3D scene. (more)
category: How To | clicked: 13 | comment | | source: www.jonathanantoine.com
tags: Cloud, computing, to, How-To, raytracer, How, 3D, Azure
2
Shouts

WPF 4.5 – Part 11 : New features for the VirtualizingPanel

posted by jmix90jmix90 590 days, 13 hours, 31 minutes ago
Friday, October 07, 2011 6:20:13 PM GMT
Virtualizing panels are involved when an application’s performance needs to be improved. It provide a base panel for virtualization of children elements inside it. Instead of creating all the UI element which are inside an ItemControls, only the one which need to be displayed are created. Because the process of creating these elements is intensive, the use of a VirtualizingPanel makes an item controls display faster. The VirtualizingPanel comes with new features in WPF 4.5: two properties named ScrollUn... (more)
category: How To | clicked: 15 | comment | | source: www.jonathanantoine.com
tags: Virtualization, How-To, WPF, wpf 4.5, grouping, group
2
Shouts

WPF 4.5 – Part 10 : Live shaping (live filtering, grouping and sorting of collections) | Jonathan ANTOINE's thoughts on WPF, Silverlight, WinRT, NUI...

posted by jmix90jmix90 592 days, 17 hours, 29 minutes ago
Wednesday, October 05, 2011 2:22:16 PM GMT
For each item list used in a WPF application, a collection view is in fact created and used by the controls. This view enables navigation, filtering, grouping and sorting from the XAML or the code. It is a very powerful feature that is offered to the developers since a long time in WPF. In WPF 4.5 as in WPF 4.0 the grouping, sorting and filtering operations are done when the item is added to the collection or when the Refresh method is called. The drawback is that if an item property value involved in o... (more)
category: How To | clicked: 22 | 1 comment | | source: www.jonathanantoine.com
tags: Filtering, SORTING, to, How-To, WPF, Tip, wpf 4.5, collection, collectionview, How, Tips, grouping
3
Shouts

WPF 4.5 – Part 9 : binding to static properties

posted by jmix90jmix90 599 days, 9 hours, 11 minutes ago
Wednesday, September 28, 2011 10:39:32 PM GMT
There is two different ways to make a property bindable: implementing INotifyPropertyChanged is the most known solution, the other one is to create a event named PropertyNameChanged. In WPF 4.0 there is no way to create a static property which can be used by a binding with property change notifications. In this post, part of a serie on the WPF 4.5 new features, we’ll see how it can now be done! (more)
category: How To | clicked: 6 | 1 comment | | source: www.jonathanantoine.com
tags: announcment, static, How-To, WPF, wpf 4.5
5
Shouts

WPF 4.5 – Part 8 : No more airspace problems (Integrating WPF with win32 : finally I can use the WebBrowser control !)

published 596 days, 12 hours, 57 minutes ago posted by jmix90jmix90 600 days, 15 hours, 16 minutes ago
Saturday, October 01, 2011 6:53:51 PM GMT Tuesday, September 27, 2011 4:34:31 PM GMT
Integrating win 32 component is already possible in WPF 4.0, even in WPF 3.5 but there is the well-know issue : airspace problems. Each render technology belongs to only one airspace only. So when you place Win32 components in your WPF application they behave as black hole for input, render transformation are not (well) applied, etc. With this 4.5 release, the WPF team solves this drawback. In this post more explanation and an example of how it improves developers’ life will be gived. This post is a pa... (more)
category: How To | clicked: 40 | 5 comments | | source: www.jonathanantoine.com
tags: Win32, Interop, WebBrowser Control, How-To, WPF, wpf 4.5, airspace
3
Shouts

WPF 4.5 – Part 7 : Accessing collections on non-UI Threads | Yet Another Blog About...

published 600 days, 16 hours, 14 minutes ago posted by jmix90jmix90 603 days, 10 hours, 49 minutes ago
Tuesday, September 27, 2011 3:36:42 PM GMT Saturday, September 24, 2011 9:02:13 PM GMT
Here is the seventh (OMG !) post on the WPF 4.5 new features. Collections are a part of every application and their management is maybe the first thing you learn to deal with in WPF. To begin, you put everything on the main(the UI one) thread and it works just fine. After a few time, you realize that it freezes the application UI and that the users usually don’t like it. Then you put the collections creation/feeding on another Thread to free the UI’s one and you realize that it is not possible because :... (more)
category: How To | clicked: 29 | 2 comments | | source: www.jonathanantoine.com
tags: announcment, Asynchonous programming, Async, How-To, WPF, wpf 4.5
2
Shouts

WPF 4.5′s MarkupExtension : Invoke a method on the ViewModel / DataContext when an event is raised.

posted by jmix90jmix90 604 days, 21 hours, 35 minutes ago
Friday, September 23, 2011 10:15:32 AM GMT
We have seen in a previous post that WPF 4.5 enable the use of custom markup extensions to provide event handlers. *In this post we’ll see that we can execute a method on the DataContext of the control when an event is raised using this new ability of the MarkupExtension. * With some tiny modifications you can run it on Silverlight too ! (more)
category: How To | clicked: 12 | comment | | source: www.jonathanantoine.com
tags: MarkupExtension, How-To, WPF, wpf 4.5, invoke
2
Shouts

WPF 4.5 – Part 4 : the new Binding’s ‘Delay’ property

posted by jmix90jmix90 606 days, 13 hours, 50 minutes ago
Wednesday, September 21, 2011 6:00:23 PM GMT
If you read the MSDN page on the new WPF 4.5 features, you’ll find it under the label “Automatically updating the source of a data binding“. This is more precise and understandable to me to say that a ‘Delay’ property has been added to the Binding markup extension ! This post is a part of the serie on WPF 4.5 new features. By reading it you’ll discover what is the goal of this property, how to use it and some scenario where it is really useful and smart to use it. (more)
category: How To | clicked: 4 | comment | | source: www.jonathanantoine.com
tags: announcment, How-To, WPF, wpf 4.5, How, Tips
2
Shouts

WPF 4.5 – Part 1 : Asynchronous data validation

posted by jmix90jmix90 607 days, 9 hours, 54 minutes ago
Tuesday, September 20, 2011 9:56:51 PM GMT
Here is the first post of a serie about the new features of WPF 4.5. Validation of data is often if not always necessary in modern applications. From a long time, WPF provided the IDataErrorInfo interfaces which permitted the automatic validation of your properties. Silverlight, with is asynchronous philosophy provided the INotifyDataErrorInfo which performed the same thing but asyncrhonously. It is a newinterface of WPF 4.5 and we will discover it in this post. (more)
category: How To | clicked: 29 | comment | | source: www.jonathanantoine.com
tags: announcment, How-To, WPF, wpf 4.5, Tips
2
Shouts

WPF 4.5 – Part 3 : New methods of the Dispatcher | Yet Another Blog About...

posted by jmix90jmix90 607 days, 9 hours, 55 minutes ago
Tuesday, September 20, 2011 9:55:42 PM GMT
his is the third part of the serie on the WPF 4.5 new features. The Dispatcher class is maybe one of the most used in WPF when you start doing thing asyncronously. It is the only way to update UI controls from an another thread. Even if it was easy to use, the WPF teams added 13 methods which will ease up this. Especially with the new await keyword. In this post we will discover these new methods. (more)
category: How To | clicked: 10 | 2 comments | | source: www.jonathanantoine.com
tags: announcment, How-To, WPF, wpf 4.5, Tips
4
Shouts

Convert in code as in XAML: how to get the XAML processor’s converter

published 624 days, 21 hours, 30 minutes ago posted by jmix90jmix90 625 days, 23 hours, 14 minutes ago
Saturday, September 03, 2011 10:20:57 AM GMT Friday, September 02, 2011 8:37:05 AM GMT
Sometimes you need to set property on controls from the code and then you realize that this is not like in XAML: these are not strings? No, they are not! This is because the XAML processor convert the string to the correct type when it process the XAML. In this post we’ll see how to reproduce the same behavior from the code: a little snippet which can help you someday ! (more)
category: How To | clicked: 3 | 4 comments | | source: www.jonathanantoine.com
tags: processor, Converter, How-To, WPF, XAML
4
Shouts

Refreshthe WPF UI now: how to wait for the rendering to finish ?

published 624 days, 21 hours, 30 minutes ago posted by jmix90jmix90 626 days, 16 minutes ago
Saturday, September 03, 2011 10:20:57 AM GMT Friday, September 02, 2011 7:34:25 AM GMT
WPF is really awesome to build reactive applications and data binding is here to push useful information inside of the User Interface. All is done magically and it’s wonderfully simple to create an application without knowledge of the internals of the WPF’s rendering. Now, I wan’t to talk about something which can useful in every WPF application : how to wait for the rendering UI to be done. This can also be rephrased to : “how to force the rendering after I performed an action ?“. (more)
category: How To | clicked: 58 | 5 comments | | source: www.jonathanantoine.com
tags: Rendering, How-To, Performance, WPF, Force, UI, refresh, How
2
Shouts

Visual Studio’s Best Kept Secret – Compare

published 711 days, 23 hours, 16 minutes ago posted by https://profiles.google.com/dougrathbonehttps://profiles.google.com/dougrathbone 713 days, 20 hours, 47 minutes ago
Wednesday, June 08, 2011 8:34:49 AM GMT Monday, June 06, 2011 11:03:39 AM GMT
When working with different iterations of a SQL database running on Internal, Staging and Production infrastructure it can become a pain in the ass rolling out updates at deployment time or keeping them in sync. Developers often use third party tools to help them do this job, however depending on what version of Visual Studio you have installed, there may be another option you have overlooked, and it’s baked right into the IDE. (more)
category: Data | clicked: 27 | comment | | source: www.diaryofaninja.com
tags: How-To, IDE, Visual Studio, Database
3
Shouts

Tips to get your Application in the Windows Phone 7 Marketplace ASAP

published 852 days, 19 hours, 31 minutes ago posted by http://www.google.com/profiles/dougrathbonehttp://www.google.com/profiles/dougrathbone 853 days, 1 hour, 20 minutes ago
Tuesday, January 18, 2011 12:19:33 PM GMT Tuesday, January 18, 2011 6:30:54 AM GMT
So after submitting applications a few times for both myself and a few friends, i have learnt a few a few do’s and don’t that can make the difference between it taking 2 weeks to get your application in the Windows Phone 7 marketplace, and only a day or two including registration. With the help of the tips below, hopefully i can help some of you avoid any of the frustrations that can come from starting development on a new platform. (more)
category: Metro | clicked: 0 | comment | | source: www.diaryofaninja.com
tags: Silverlight, C#, How-To, Windows-Phone-7
5
Shouts

Using jQuery to disable/enable and check/uncheck Radio Buttons on Date selected in a Datepicker

published 874 days, 19 hours, 44 minutes ago posted by lenielleniel 879 days, 19 hours, 28 minutes ago
Monday, December 27, 2010 12:07:02 PM GMT Wednesday, December 22, 2010 12:23:09 PM GMT
Motivated by a question posted at StackOverflow - Disable radio button depending on date, I decided to help and here I’m with another code snippet post. This time I show you how to use jQuery UI and its Datepicker control to control a set of radio buttons (only 2 in this post to make things easier) that have their state (enabled/disabled) changed depending on the date selected by the user in the datepicker control. (more)
category: UX | clicked: 8 | 1 comment | | source: www.leniel.net
tags: GUI, How-To, jQuery UI, JavaScript, jQuery, css-html
4
Shouts

[RIA Services] Why the client extended entities won't use the default backing store value ?

published 912 days, 5 hours, 23 minutes ago posted by jmix90jmix90 912 days, 16 hours, 32 minutes ago
Saturday, November 20, 2010 2:28:02 AM GMT Friday, November 19, 2010 3:18:58 PM GMT
The title may not be clear but I am talking about the entities that you extends on the client side using the fact that they are partial class. You may think as I was that if you add properties in them with backing store field, the properties will get initialed nicely : this is not the case and the property will always use the default value for the property type. In this post we’ll discover how to perform our goal : create a property with the correct default value. (more)
category: Metro | clicked: 6 | comment | | source: blog.lexique-du-net.com
tags: Silverlight, Serialization, RIA Services, How-To, RIA Service, Properties, How
5
Shouts

[RIA Services] How to force validation on my entities (and just the validation !)

published 942 days, 10 hours, 59 minutes ago posted by jmix90jmix90 943 days, 21 hours, 24 minutes ago
Wednesday, October 20, 2010 8:51:26 PM GMT Tuesday, October 19, 2010 10:27:08 AM GMT
RIA services solves for you a lot of problems and one of them is to add validations rules on the entities both on the client and on the server side. These differents rules are checked when you submit the changes from the client to the server or when you call “EndEdit” on the entities. But there is times when you want to leverage the validation without submit the changes or commit your object modification (in a IEditableObject way of talking). In this post we will discover how to do just this. (more)
category: Metro | clicked: 26 | comment | | source: blog.lexique-du-net.com
tags: Validation, Silverlight, RIA Services, How-To, DataForm, RIA Service, how to, riaservices, ria-services, How, Validator, IEditableObject
6
Shouts

Migrate the Jetpack theme from Silverlight to WPF

published 944 days, 17 hours, 15 minutes ago posted by jmix90jmix90 947 days, 8 hours, 12 minutes ago
Monday, October 18, 2010 2:36:01 PM GMT Friday, October 15, 2010 11:39:17 PM GMT
There is a great theme named Jetpack available for Silverlight applications which can be found on the Tim Heuer web site. I was wondering if it can be used in WPF applications and the answer is yes ! *Here are the modifications I had to do to make all this work. * (more)
category: How To | clicked: 28 | comment | | source: blog.lexique-du-net.com
tags: Silverlight, Themes, Theme, to, How-To, WPF, windows presentation foundation, How, Tips
2
Shouts

How to create your own control library (how-to + tips)

posted by jmix90jmix90 958 days, 16 hours, 9 minutes ago
Monday, October 04, 2010 3:41:33 PM GMT
Reusability and factorizing are maybe the most commons things you want and use when you are developing applications. In WPF it often means creating controls library (i don’t mean UserControl) that will be easy to use in multiple applications. In this post we'll see all the step to create a control library useable in differents projects. (more)
category: How To | clicked: 7 | comment | | source: blog.lexique-du-net.com
tags: library, Resources, Control, How-To, Test, WPF, Tests, custom, windows presentation foundation, resource, How, Tips, ContentControl, controls
Previous 1 2 Next