Home > DeveloperSection > Forums > How can I Align a CheckBox with its content?
Royce Roy
Royce Roy

Total Post:134

Posted on    September-24-2013 8:34 AM


 1 Reply(s)
 916  View(s)
Rate this:

The XAML looks like this:

<CheckBox Content="Poorly aligned CheckBox" Margin="9"/>

The CheckBox is inside a Grid cell. Is there a simple way to make the content and check portions of a XAML CheckBox align vertically?

Pravesh Singh

Total Post:411

Posted on    September-24-2013 8:51 AM

Hi Royce,

You can do the work:


    <TextBlock Text="Poorly aligned CheckBox" Margin="0,-2,0,0"/>


Don't want to miss updates? Please click the below button!

Follow MindStick