This is Top

使用TextTrimming属性就好了。

1 <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2    <Grid Width="100" Height="20" Background="lightGreen">
3       <TextBlock Text="TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT" TextTrimming="CharacterEllipsis"/>
4    </Grid>
5 </Page>

 

posted on 2016-07-18 09:48  Darren.Dai  阅读(1723)  评论(0编辑  收藏  举报
This is footer