---
title: "How can I Align a CheckBox with its content?"  
description: "How can I Align a CheckBox with its content?"  
author: "Royce Roy"  
published: 2013-09-24  
updated: 2013-09-24  
canonical: https://www.mindstick.com/forum/1518/how-can-i-align-a-checkbox-with-its-content  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# How can I Align a CheckBox with its content?

## The XAML looks like this:

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

The [CheckBox](https://www.mindstick.com/articles/291/how-should-use-checkbox-control-in-vb-dot-net) is inside a [Grid](https://www.mindstick.com/forum/369/how-can-i-add-a-column-name-to-my-grid) cell. Is there a [simple](https://yourviews.mindstick.com/story/1469/5-simple-ways-to-stay-fit-amp-healthy) way to make the [content](https://www.mindstick.com/articles/13019/get-the-best-content-marketing-pricing-packages-for-your-brand) and [check](https://yourviews.mindstick.com/story/2248/never-forget-to-check-these-specifications-before-buying-a-mobile-phone) portions of a XAML CheckBox align vertically?

## Replies

### Reply by Pravesh Singh

Hi Royce,

You can do the work:

```
<CheckBox>    <TextBlock
Text="Poorly aligned CheckBox" Margin="0,-2,0,0"/></CheckBox>
```


---

Original Source: https://www.mindstick.com/forum/1518/how-can-i-align-a-checkbox-with-its-content

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
