Question

How I can wrap text in CheckBox? The text is a bit longer than width of page, but I cannot shorten it. CheckBox doesnt have TextWrapping attribute. ;(
Also I tried to set Width="460", Width="*", but I didnt succeed.

<StackPanel>
    <CheckBox Content="Lorem ipsum dolor sit amet, consectetur adipisicing elit." />
</StackPanel>
Was it helpful?

Solution

<CheckBox>
    <TextBlock Text="Test Text" TextWrapping="Wrap"/>
</CheckBox>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top