Search code examples
wpfsilverlightwindows-phone-7windows-phone-8

How to make checkbox bigger


I'm using a checkbox control like this:

<CheckBox VerticalAlignment="Bottom" IsChecked="{Binding Selected}" 
      Grid.Column="0" 
      FontSize="{StaticResource PhoneFontSizeLarge}" 
      Content="{Binding Name}">
</CheckBox>

The thing is that I change size to be a little bigger. In this case text is getting bigger, but tick itself remains the same. It looks ugly, can I resize checkbox somehow?

UPDATE I'm doing it on windows phone so LayoutTransform not appropriate here


Solution

  • Ended up with the following:

    1. Add an empty checkbox
    2. Open control in expression blend
    3. Select checkbox there
    4. Open Edit Template -> Edit Copy
    5. It will create a new style with custom template that you will be able to assign to checkboxes.

    It produced about 150 loc style, but I couldn't find another way