C# SL 4与WPF帮助的对话
我在SL4中有这个代码块,有人能帮我把它转换成WPF4吗 提前感谢你的帮助C# SL 4与WPF帮助的对话,c#,wpf,silverlight-4.0,C#,Wpf,Silverlight 4.0,我在SL4中有这个代码块,有人能帮我把它转换成WPF4吗 提前感谢你的帮助 <Grid x:Name="UXLearn" RenderTransformOrigin="0.5,0.5"> <Grid.Projection> <PlaneProjection LocalOffsetZ="40" /> </Grid.Projection> <Grid.RenderTransform>
<Grid x:Name="UXLearn" RenderTransformOrigin="0.5,0.5">
<Grid.Projection>
<PlaneProjection LocalOffsetZ="40" />
</Grid.Projection>
<Grid.RenderTransform>
<CompositeTransform ScaleX="0.96" ScaleY="0.96" />
</Grid.RenderTransform>
<TextBlock Margin="0,-110,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="Learn Expression Blend" FontFamily="Fonts/Fonts.zip#Segoe WP Light" FontSize="20" TextWrapping="Wrap" Foreground="#FFFB8917">
<TextBlock.Projection>
<PlaneProjection />
</TextBlock.Projection>
</TextBlock>
</Grid>
如果您只使用ScaleX和ScaleY,您应该能够用ScaleTransform替换CompositeTransform 对于Grid.Projection,请查看