I want to double the size of a checkbox. I used ScaleTransform
but the problem is, it also scales the Content
(in my case the text on the right of the checkbox):
<CheckBox VerticalAlignment="Center" Content="Test">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
I could just leave the Content
empty and write the description in a separate TextBlock
but then, when I click on the text, the CheckBox
is of course not toggled.
Can I do this without completely replacing the control template?