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: , , , ,

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: , , , ,

Custom DependencyProperties and “Auto”

by Christoph Menge in Software

While implementing a little custom control (a radial panel, actually – stay tuned what it’s good for…), I stumbled across a little problem when trying to add automatic behaviour.
Many built-in WPF Controls such as Canvas or Panel allow something like

Width="Auto"

Now, for my control I need something that accepts

AngleSpacing="Auto"
AngleSpacing="<double>"

Of course, accomplishing that is very simple, but [...]

Tags: , , ,