DependencyProperty Serialization

by Christoph Menge in Software

Ok, I did it: I tried to do it the easy way — serialization! And I quickly ran into the following issue: Serializing DependencyObjects. There are a lot of sources saying “you can’t serialize dependency objects”, which is true, but you can get pretty close rather quickly and it might not be the worst decision. [...]

Tags: , ,

Composite WPF, Aggressive GC and dead events

by Christoph Menge in Software

Well, this is the first post after a very long pause, I am sorry but I had very little time…
Anyway, I stumbled over some strange bug this morning that turned out to be related to the GC. But let’s just step back a minute:
The application I currently work on is based on CompositeWPF . [...]

Tags: , , ,

WPF Direct3D Interop

by Christoph Menge in Software

There are some very interesting posts I missed the last days. Since .NET 3.5 SP1 perfectly integrates WPF with DirectX, a number of cool effects can finally be applied:
http://www.codeproject.com/KB/WPF/WPFPixelShader.aspx
http://blogs.msdn.com/greg_schechter/archive/2008/05/12/introduction-to-writing-effects.aspx
http://weblogs.asp.net/scottgu/archive/2008/05/12/visual-studio-2008-and-net-framework-3-5-service-pack-1-beta.aspx
Some of those effects were on Dax Pandhi’s wish list for WPF (http://blog.nukeation.com/post/My-wishlist-for-the-next-release-of-WPF.aspx) for quite some time.
More importantly, the integration of WPF and Direct3D might eliminate the [...]

Tags: , , ,

A MenuKiller Control – Draft

by Christoph Menge in Software

This is just a draft on my upcoming article. I have asked a number of WPF Gurus to help me out on this…
Introduction

In an effort to take user experience to the next level, designers have come up with ideas on how to solve old problems in a new way. In the last few months, the [...]

Tags: , , , ,

Prism 10933

by Christoph Menge in Software

A new Prism drop has just been released:
http://www.codeplex.com/prism/SourceControl/DownloadSourceCode.aspx?changeSetId=10933
The current prism drop comes with a neat documentation. Unfortunately, I won’t be able to check it out for the next few days…
The StockTraderRI now looks like this: .

Tags:

Protected: A MenuKiller Sample Application

by Christoph Menge in Software

There is no excerpt because this is a protected post.

Tags: , , ,

On UIElement.Opacity and the Removal of Storyboards

by Christoph Menge in Software

Today, I encountered two WPF related problems:
1 – UIElement.Opacity and the way it is being ‘inherited’
Every UIElement has an Opacity property, which will we be used when rendering the control. When rendering an object, 0.0 means the object is fully transparent, thereby invisible to the user, while 1.0 means it is fully opaque. Since controls [...]

Tags: ,

Applying ItemContainerStyle Recursively

by Christoph Menge in Software

In the MenuKiller Control, I need to configure a TreeView to quite some extent: I want all nodes to have a certain custom ItemContainerStyle.
First naive approach: The TreeView will apply its ItemContainerStyle to all nodes. Wrong! The TreeViewItems themselves are ItemControls, therefore having their own ItemContainerStyle.
Second approach: Have the ItemContainerStyle refer to itself using [...]

Tags: , ,

The MenuKiller Control – Differentiated UX

by Christoph Menge in Software

A while ago, I read a very interesting blog post: Rethinking the Button by Dax Pandhi. It really fascianated me, so I started some research on the topic. Apparently, “Differentiated UX” is the new buzzword. As is always the case with buzzwords, different people understand it in different way, but I guess the common denominator is: We [...]

Tags: , , , ,

Krzysztof Cwalina on API Design

by Christoph Menge in Software

This is a rather old one (dated June 1st 2007), but I feel this one deserves it: A three-hour webcast by FxCop creator Krzysztof Cwalina who now works at Microsoft on the design of APIs, a little post mortem on the development of the .NET Framework, etc.
You can download the not-so-small file here:
http://blogs.msdn.com/kcwalina/archive/2007/06/01/FDGLecture.aspx
 
While three hours seem [...]

Tags: , ,