DotNetShoutout - Stories tagged with windows presentation foundation
6
Shouts

Introducing the amazing WPF controls library on Codeplex !

published 934 days, 16 hours, 3 minutes ago posted by jmix90jmix90 935 days, 22 hours, 30 minutes ago
Thursday, October 28, 2010 6:34:36 PM GMT Wednesday, October 27, 2010 12:08:13 PM GMT
I am pleased to announce you the creation of the Amazing WPF controls library on Codeplex ! It will contains the differents controls I describe and/or peel on this blog. I will try to make an article for each control added to the library. (more)
category: How To | clicked: 7 | comment | | source: blog.lexique-du-net.com
tags: Control, WPF, windows presentation foundation, controls
6
Shouts

Migrate the Jetpack theme from Silverlight to WPF

published 944 days, 20 hours, 2 minutes ago posted by jmix90jmix90 947 days, 10 hours, 59 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, 18 hours, 57 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 968 days, 2 hours, 12 minutes ago posted by jmix90jmix90 968 days, 23 hours, 43 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 969 days, 2 hours, 43 minutes ago posted by jmix90jmix90 970 days, 27 minutes 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 969 days, 15 hours, 49 minutes ago posted by jmix90jmix90 971 days, 21 hours, 43 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 978 days, 1 hour, 52 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
2
Shouts

How to close the whole application in WPF Browser based application (XBAP application)

posted by codegaincodegain 1025 days, 18 hours, 35 minutes ago
Thursday, July 29, 2010 4:02:45 PM GMT
How to close the whole application in WPF Browser based application (XBAP application) (more)
category: Smart Client | clicked: 0 | comment | | source: www.codegain.com
tags: .NET, WPF, windows presentation foundation, .NET 3.5
11
Shouts

Open Source Interactive WPF image cropper control released

published 1046 days, 21 hours, 4 minutes ago posted by akoskapuiakoskapui 1048 days, 3 hours, 5 minutes ago
Thursday, July 08, 2010 1:33:51 PM GMT Wednesday, July 07, 2010 7:32:44 AM GMT
Although there are already some good articles on how to crop an image in WPF, the ones We tried out did not fit out requirements, so we decided to write our own control. Our control extends the regular Image control, so you can use the all of the features you are used to have. That’s it in a nutshell. It’s a simple interactive image cropping control written in WPF and C#. (more)
category: How To | clicked: 20 | comment | | source: teamdistinction.com
tags: interactive, copper, adorner, C#, OpenSource, cropping, image, Source, WPF, Tutorial, crop, windows presentation foundation, XAML
3
Shouts

[Performance tips] Use the system shadows instead of your own

posted by jmix90jmix90 1118 days, 12 hours, 18 minutes ago
Tuesday, April 27, 2010 10:19:57 PM GMT
Today a fast and easy tip about shadows and performance. In a project I have recently made, we've told the designer not to use BitmapEffect because they are performance killer. He so decided to create it's own shadows by duplicating each shape and make them looks like shadows. I was then surprised to see that it kills performance too ! (more)
category: How To | clicked: 1 | comment | | source: blog.lexique-du-net.com
tags: System, Aero, shadow, Tips and Tricks, Performance, WPF, Tip, windows presentation foundation, Tips, Tips & Tricks., Shader
4
Shouts

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

published 1136 days, 23 hours, 1 minute ago posted by jmix90jmix90 1137 days, 13 hours 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
6
Shouts

Binding on a Property which is not a DependencyProperty

published 1140 days, 59 minutes ago posted by jmix90jmix90 1140 days, 21 hours, 48 minutes ago
Tuesday, April 06, 2010 9:38:53 AM GMT Monday, April 05, 2010 12:50:01 PM GMT
A lot of controls expose properties which are not DependencyProperties and then you can’t put a binding on it. On some other cases, you only have a getter as accessor and you can’t put a binding on it too. This is for example the case for the ribbon’s group of the office ribbon or the converter’s parameter. If you ever tried to do so, you surely had an exception throwned : " A 'Binding' cannot be set on the 'SetCEDEJDED' property of type 'Tralala'. A 'Binding' can only be set on a DependencyProperty of ... (more)
category: How To | clicked: 3 | comment | | source: blog.lexique-du-net.com
tags: tricks, dependency object, trick, How-To, Dependency Property, WPF, Binding, Tip, how to, windows presentation foundation, bindings, Tips
6
Shouts

Serialize DependencyObject : it's easy !

published 1177 days, 21 hours, 32 minutes ago posted by jmix90jmix90 1179 days, 19 hours, 33 minutes ago
Saturday, February 27, 2010 1:05:44 PM GMT Thursday, February 25, 2010 3:05:23 PM GMT
You often read that dependencyObjects are not marked as Serializable... but it does not means that you can't serialize them easily ! (more)
category: How To | clicked: 5 | comment | | source: blog.lexique-du-net.com
tags: tricks, workflow, C#, WF, WPF, how to, windows presentation foundation, Tips
7
Shouts

Executing actions on the UI thread

posted by http://byteflux.myopenid.com/http://byteflux.myopenid.com/ 1269 days, 21 hours, 52 minutes ago
Friday, November 27, 2009 12:46:17 PM GMT
Executing actions on the UI thread by Sebastian Negomireanu on Nov.27, 2009, under .NET, C#, Code When working with frameworks like Silverlight, WPF or Windows Forms you often encounter the need to ensure a piece of code runs on the UI thread. Below, I present a clean way to do this using the SynchronizationContext class. (more)
category: Metro | clicked: 2 | comment | | source: byteflux.me
tags: Extension Methods, Silverlight, Windows Forms, C#, Synchronization, windows presentation foundation, Threading