Looking for the "Justify" Horizontal content alignment option in the RadDiagramTextShape.
We have text shapes that have multi-line texts and we would like to justify align the text in the shape, how do we achieve the Justify text alignment for text?
1 Answer, 1 is accepted
0
Stenly
Telerik team
answered on 01 Jun 2022, 04:19 PM
Hello Mrugendra,
To achieve this, you could create a new Style with TargetType="RadDiagramTextShape" and then add a new Setter for the TextBlock.TextAlignment attached property. For the Value, you could set it to "Justify".
The following code snippet shows this suggestion's implementation: