开发者

Wrap Text Silverlight radio button

Is it possible to have the text in a radio button wrap itself? For example, I have a border area to work with that's approximately 350 pixels wide and I want t开发者_Python百科o position some radio buttons in there. I can do that, but when the text is long, I cannot wrap the text.


Try this:

    <RadioButton Width="100" >
        <RadioButton.Content>
            <TextBlock Text="This is some text that is very long" TextWrapping="Wrap" />
        </RadioButton.Content>
    </RadioButton>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜