Newbie to XAML and WP7 phone developement here.
I have a radio button that has a textblock in it. The text in the textblock spans across multiple lines. When this happens, the bullet is centered on the text, but I would like it to be aligned to the top. I’m assuming I need to override the property but I can’t seem to figure it out.
Here’s the XAML for my radio button. Any ideas on how I can get the bullet to align to the top of the text and not centered?
<RadioButton x:Name="RadioButton1" Background="#BFD0A225" Margin="0,-12,0,-13" Checked="itsChecked" FontSize="32">
<TextBlock x:Name="TextBlockText" TextWrapping="Wrap">
<Run Text="This is line 1."/>
<LineBreak/>
<Run Text="This is line 2."/>
<LineBreak />
<Run Text="This is line 3."/>
</TextBlock>
</RadioButton>
Can you try and apply this style to your radio button?