How would you justify text in Silverlight?
- by PaulJ
Does anyone have any suggestions on how to justify read-only text (rendered into a TextBlock) in Silverlight 2? WPF supports text justification by way of the TextAlignment enumeration:
public enum TextAlignment
{
Left,
Right,
Center,
Justify // <--- Missing from Silverlight :(
}
However, Silverlight 2 only supports the following:
public enum TextAlignment
{
Center,
Left,
Right
}
Any ideas or suggestions gratefully received.