Software solutions for a mobile world

One of the great things about APPA Mundi is the wealth of knowledge held by my colleagues. We have recently released a Pop Quiz for Windows Phone 7, and the answers are selected using radio buttons. My problem was that some of the questions were too long for the text allowed by radio buttons, and I couldn't find out how to wrap the text.

I called on my colleagues for help, and Andy came through trumps. He said "It's just XAML - we can do anything we want with it!" :)

So, with thanks to Andy, the code for a multi-line radiobutton is:-

<RadioButton HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,324,0,0" Name="rbOption3" Grid.ColumnSpan="3" Width="438" Checked="rbOption3_Checked">
<RadioButton.Content>
<TextBlock Text="Some really long text that needs wrapping" TextWrapping="Wrap" Width="396" />
</RadioButton.Content>
</RadioButton>


Contact

M: +44 (0)7860 907493
B:  +44 (0)1204 657497

pete@gui-innovations.com

More

Connections

   

Twitter Feed