DotNetShoutout - Stories tagged with How
3
Shouts

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

published 517 days, 7 hours, 56 minutes ago posted by jmix90jmix90 520 days, 6 hours, 36 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 10 : Live shaping (live filtering, grouping and sorting of collections) | Jonathan ANTOINE's thoughts on WPF, Silverlight, WinRT, NUI...

posted by jmix90jmix90 599 days, 1 hour, 49 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
2
Shouts

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

posted by jmix90jmix90 612 days, 22 hours, 11 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
4
Shouts

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

published 631 days, 5 hours, 50 minutes ago posted by jmix90jmix90 632 days, 8 hours, 37 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
4
Shouts

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

published 918 days, 13 hours, 43 minutes ago posted by jmix90jmix90 919 days, 52 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 948 days, 19 hours, 20 minutes ago posted by jmix90jmix90 950 days, 5 hours, 44 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 951 days, 1 hour, 35 minutes ago posted by jmix90jmix90 953 days, 16 hours, 32 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 965 days, 30 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
2
Shouts

How can I use static/dynamic resources in my tests

published 974 days, 7 hours, 46 minutes ago posted by jmix90jmix90 975 days, 5 hours, 16 minutes ago
Saturday, September 25, 2010 8:25:44 AM GMT Friday, September 24, 2010 10:55:16 AM GMT
You are surely, as I am, creating a lot of units tests in your WPF applications. Some of the tests may use statics or dynamics resources declared in your application and when you launch the tests, all you get is an XamlParseException exception thrown. The tip to make them work is quite simple to use. (more)
category: How To | clicked: 2 | comment | | source: blog.lexique-du-net.com
tags: Resources, How-To, Test, WPF, Tests, windows presentation foundation, resource, How, Tips
4
Shouts

Quick tip : My WPF Fullscreen window still display a border on right and bottom side... how to remove it

published 975 days, 8 hours, 16 minutes ago posted by jmix90jmix90 976 days, 6 hours ago
Friday, September 24, 2010 7:54:58 AM GMT Thursday, September 23, 2010 10:10:53 AM GMT
Creating a fullscreen window in WPF is quite simple, you just have to set WindowState to Maximized and WindowStyle to None. But in my current project I was facing a little drawback : a border was still visible on the bottom and on the right side of my window. In this post we'll discover how to remove them. (more)
category: How To | clicked: 7 | comment | | source: blog.lexique-du-net.com
tags: border, How-To, fullscreen, WPF, bugs, windows presentation foundation, Template, How, Tips
5
Shouts

Create an animated expander

published 975 days, 21 hours, 22 minutes ago posted by jmix90jmix90 978 days, 3 hours, 16 minutes ago
Thursday, September 23, 2010 6:48:59 PM GMT Tuesday, September 21, 2010 12:54:57 PM GMT
The expander control can be used in a lot of situations but the one proposed by default is quite "rigid". In this post we will discover how to animate it quite simply just via XAML ! The WPF engine lets us redefine the template of the controls and we'll just do that. (more)
category: How To | clicked: 7 | comment | | source: blog.lexique-du-net.com
tags: UserControl, UserControls, Control, How-To, WPF, findName, windows presentation foundation, Template, Expander, How, Tips, controls
3
Shouts

UserControl/Control : how to get a reference to an element of the template

posted by jmix90jmix90 984 days, 7 hours, 25 minutes ago
Wednesday, September 15, 2010 8:46:24 AM GMT
When you want to create your own custom control you have two choices : creates an UserControl or inherits from one of the "Control's classes" (ContentControl, ItemsControls or Control itself). When doing so you'll surely need to access to the visual parts of your template from the code to add it a nice behavior. *In this post we'll discover how to access the template children by using the FindName method even on UserControl. * (more)
category: How To | clicked: 2 | comment | | source: blog.lexique-du-net.com
tags: UserControl, UserControls, Control, How-To, WPF, findName, windows presentation foundation, Template, How, Tips, controls
4
Shouts

Execute a command on a specified control when clicking on a button

published 1074 days, 2 hours, 35 minutes ago posted by jmix90jmix90 1075 days, 2 hours, 37 minutes ago
Thursday, June 17, 2010 1:36:18 PM GMT Wednesday, June 16, 2010 1:34:47 PM GMT
Today another example of the powerful ramora pattern : execute a RoutedCommand on an Control when you click on a button outside of the aimed control scope. Our implementation will also show *how we can apply the "Weak Events pattern" with the dependency property trick *(attached property / ramora pattern). And of course this example can be adapted to subscribe on any event you wants and not only the click of a button. (more)
category: Smart Client | clicked: 4 | comment | | source: blog.lexique-du-net.com
tags: tricks, Command, Attached behavior, How-To, routed commands, Dependency Property, WPF, how to, Behavior, How, Tips, Tips & Tricks.
5
Shouts

Freeze brushes directly in the XAML to improve your application's performances

published 1138 days, 23 hours, 47 minutes ago posted by jmix90jmix90 1139 days, 19 hours, 1 minute ago
Tuesday, April 13, 2010 4:24:15 PM GMT Monday, April 12, 2010 9:10:35 PM GMT
When you read the MSDN guidelines to improce WPF's performances you can find that it's a good idea to freeze Freezable objects. It's a quite easy thing to do via the code but it's quite harder to do it directly in the XAML. In this post we will see how to do so. (more)
category: How To | clicked: 6 | comment | | source: blog.lexique-du-net.com
tags: tricks, trick, to, How-To, freeze, Performance, WPF, Tip, how to, freezable, Windows, example, How, Tips, presentation, Foundation
4
Shouts

Simple properties Mapper by reflection : stop copying manually each property of your objects !

published 1143 days, 4 hours, 34 minutes ago posted by jmix90jmix90 1143 days, 18 hours, 34 minutes ago
Friday, April 09, 2010 11:37:28 AM GMT Thursday, April 08, 2010 9:37:50 PM GMT
There is time when you have to copy each property of an object to one another. This is called mapping and it's very fastidious to do it by hand. In this post we'll see how to create a method extension which do it for you in one line of code ! (more)
category: How To | clicked: 4 | comment | | source: blog.lexique-du-net.com
tags: Windows Communication Foundation, Tips and Tricks, trick, How-To, map, Mapping, WPF, Mapper, Tip, how to, windows presentation foundation, Reflection, WCF, ORM, How, Tips