1

所以我使用的Silverlight 4.0我有以下代碼,但它給了我以下錯誤:「成員」TextTrimming「無法識別或無法訪問」,但它工作正常,當我在Visual Studio 2010中運行。在Expression Blend中無法識別成員「TextTrimming」?

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

回答

1

哪個版本的Expression Blend?就我所知,只有Expression Blend 4以Silverlight 4爲目標。

+0

是的,我沒有看到MSDN或他們的網站的Expression Blend 4?所以我不確定是不是這種情況? – emalamisura 2010-05-21 03:02:30