Strikeout text in Windows phone 7

1.7k Views Asked by At

Is there a way to strikeout text in windows phone 7?

3

There are 3 best solutions below

2
On BEST ANSWER

Read this thread, someone also posted a solution there.

0
On

There is no built-in way to do this.
The only alternative is to draw a line in the same position as the text yourself.

0
On

A little simple example:

<Grid HorizontalAlignment="Left" VerticalAlignment="Top">
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
        <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Some text" VerticalAlignment="Top" Grid.RowSpan="2"/>
        <Border BorderThickness="0,0,0,1" BorderBrush="#FF949494" >
        </Border>
        </Grid>