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

Podcasts with bookmarks

I listen to quite a lot of podcasts. I have been using Spotify but recently switched, most of the time, to using an app called Snipd.


Read More

Don't be afraid to ask the stupid question

Ego and the fear of how we appear to others can get in the way sometimes. We don’t want to appear stupid so we avoid finding out things we don’t know.


Read More

Professionals do everything necessary - not just the fun bits

This article defines the difference between a professional developer and an amateur as:


Read More