Reputation: 3564
I have a checkbox where I would like the text content of it to be placed above the checkbox control. I have seen an article in which the text is placed to the left of the textbox, as seen here, but I would like to know if there is a way to set a style to get the content shown either above or below the checkbox?
Thanks in advance
Upvotes: 4
Views: 2228
Reputation: 564851
You can use the same technique as the article you linked. Just use DockPanel.Dock="Bottom"
instead of "Right"
for the BulletChrome
.
You may want to also set VerticalAlignment="Top"
and HorizontalAlignment="Center"
for the Content
, as well.
Upvotes: 2