This is my Xaml code. I want the subject to be trimmed. But there is no effect of wordellipsis.
<StackPanel Orientation="Vertical" Grid.Column="2" Margin="10, 0, 20, 0">
<TextBlock TextTrimming="WordEllipsis" Margin="0,2,0,2" Foreground="#666666"
Text="{Binding Subject}" FontSize="16" FontFamily="Segoe UI" FontWeight="Bold"/>
.....
</StackPanel>
What am I doing wrong ?