Hello,
when using a CheckBox with DarkMetroTheme and VerticalAlignment="Center" the control is not centered. See attached project.
Hello Markus,
Please set the VerticalContentAlignment to Center for the Checkbox.
<CheckBox x:Name="checkBox" Content="CheckBox" VerticalAlignment="Center" VerticalContentAlignment="Center" />
Let me know if you have any questions regarding this matter.
Thanks, this is working. But why do the un-themed CheckBox control or the themed RadioButton control only need VerticalAlignment="Center"?
I used an application called Snoop and discovered that for each Grid element, when themed, use a different Vertical Alignment. The themed Radio button is using Stretch while the Checkbox is set to Top. So not all the controls are using the same exact enumeration for the underlying content.