I've got the most simple application ever: single window with one single toggle button:
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<ToggleButton Content="This is my ToggleButton" />
</Grid>
</Window>
When I now click on the toggle button, really nothing happens. When I setup event handler for Checked
and Unchecked
event, and then click the button, first the Checked
and then Unchecked
get fired. So the button seems to work correctly ...
I am compiling to .NET 4.5 and I am using Windows 8 RTM.
Is this behaviour related to the Windows 8 style of displaying buttons (no "3D" border)? Can anyone confirm?
UPDATE 1 I made up an image to show what I meant:
As you see, in Windows 8 "nothing happens" when clicking on the toggle button, it simply does not get "toggled". This seems to be a bug, related to the windows 8 style of displaying buttons ...
UPDATE: May 30 2013:
A hotfix is avalible: http://support.microsoft.com/kb/2805222
See Issue #5 under WPF
Unfortunately it doesn't fix the problem for me :(