Windows Phone : TextBlock justify doesn’t work


TextBlock is the control to used for writing text on the screen. It is really simple and easy. But, I don’t know why, justify the text using the TextAlignment attribute doesn’t work.

Luckily we have the RichTextBox control.


<RichTextBox TextAlignment=”Justify” IsReadOnly=”True”>
Put your text here


Happy coding.