When your WPF menu alignment is wrong

I had a very weird problem where my menus on a WPF application were dropping down to the left instead of the normal to the right.

It turns out it is due to having a tablet setting set to right handed … even though I don’t have a tablet. The answer was found on the link at the bottom of this post.

To fix it:

Press the Windows key + R and then copy/paste the following line of text.

shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}

Press OK.

In the Tablet PC Settings configuration dialog select the “Other” Tab. In the Handedness section, place a check mark in the Left Handed option.

Click OK.

Fixed.

Links

How can I get WPF menus to align like the old win forms menu?

Random Posts

It is 'just' ...

It is very easy to make assumptions about a subject you know well and others may not. You will have knowledge you have learnt over time that you perceive is so simple or obvious that others should just know it - forgetting that once you too had to learn it. This article sums it up really well with the word … “just”.


Read More

Blockchain - what impact will it have?

There are a lot of stories around how Blockchain could revolutionize every industry. This is a nice summary of some of the companies that are trying to make this happen and the way they are trying to make an impact.


Read More

Breaking things down

A task can often look too big to tackle. It can become very daunting even in deciding where to start.


Read More