In our project we had a requirement of displaying a particular module name in the application.
However the module name was very long and was getting truncated in the window.
Then I came across this usefull property in WPF called TextTrimming
This property helps in avoiding the truncation and prefixes a '...' to the string beyond the length.
You can use the following, hope it helps
<Grid>
<TextBlock Height="23" HorizontalAlignment="Left" Margin="0,12,0,0"
Name="textBlock1" VerticalAlignment="Top">Demo to show how Ellipsis works</TextBlock>
<TextBlock Height="23" HorizontalAlignment="Left" Margin="0,40,0,0"
Name="textBlock2" TextTrimming="CharacterEllipsis" VerticalAlignment="Top" >Demo to show how Ellipsis works</TextBlock>
</Grid>