Member "TextTrimming" is not recognized in Expression Blend?

Posted by emalamisura on Stack Overflow See other posts from Stack Overflow or by emalamisura
Published on 2010-05-21T00:07:42Z Indexed on 2010/05/21 0:10 UTC
Read the original article Hit count: 694

So I am using Silverlight 4.0 I have the following code but its giving me the following error: "The member "TextTrimming" is not recognized or is not accessible", but it works fine when I run in 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>

© Stack Overflow or respective owner

Related posts about silverlight-3.0

Related posts about silverlight-4.0