Is it possible to use the Text field in a TextBlock?
My textBlock management style is here:
<Style x:Key="InfosStyle" TargetType="{x:Type TextBlock}"> <Setter Property="FontSize" Value="13"/> <Setter Property="FontWeight" Value="Normal"/> <Setter Property="Height" Value="35"/> <Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="TextAlignment" Value="Justify"/> <Setter Property="Background" Value="#BFE3FE"/> <Setter Property="Margin" Value="2,4,0,1" /> </Style>
The result is here:

For the exam, I would like to align or set margin to text in textBlock.
Now: | Chatuje to | _Chatuje
I need to have free space on the left side in a TextBlock.
Free Space TextOfTextBlock
Not
TextOfTextBlock
alignment margin wpf textblock
user572844
source share