Expression Blend中无法识别成员“TextTrimming”?

时间:2010-05-21 00:07:43

标签: silverlight silverlight-3.0 silverlight-4.0 expression-blend

所以我使用Silverlight 4.0我有以下代码,但它给我以下错误:“成员”TextTrimming“无法识别或无法访问”,但它在Visual Studio 2010中运行时工作正常。< / p>

<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>

2 个答案:

答案 0 :(得分:1)

Expression Blend的哪个版本?据我所知,只有Expression Blend 4以Silverlight 4为目标。

答案 1 :(得分:0)