【发布时间】:2010-05-21 16:06:00
【问题描述】:
所以我使用的是 Silverlight 4.0,我有以下代码,但它给了我以下错误:“成员“TextTrimming”无法识别或无法访问”,但当我在 Visual Studio 2010 中运行时它工作正常。
<TextBlock Margin="0,30,28.789,50.455" TextWrapping="Wrap" TextTrimming="WordEllipsis" HorizontalAlignment="Right" Width="117" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto" Text="This is some text in a sticky note for the sake of making sure that the text will fit and that the user can see all the necessary details that are going to be available and stuff" LineHeight="-1" FontWeight="Normal">
<TextBlock.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="8"/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</TextBlock.RenderTransform>
【问题讨论】:
标签: silverlight silverlight-3.0 silverlight-4.0 expression-blend