我试图使用LayoutTransform属性在Windows8.1/ in 2013模板中旋转一些文本90度。
我知道LayoutTransform不在WinRT XAML中,所以我遵循了igrali的博客上关于在Windows8 WinRT XAML中使用布局转换的说明,但是visual一直在说:
名称空间“using:Transforming.Common.”中不存在“名称布局转换器”。
这是因为由于Windows8.1中的更改,我需要做一些不同的事情吗?
乔
发布于 2014-02-28 20:49:39
谢谢大家的建议。我终于找到了怎么做的。我只需要确保在app.xaml和mainpage.xaml的样式上面有正确的名称空间。我只是将模板中已经包含的通用名称空间复制到app.xaml中。
发布于 2014-02-27 02:55:16
也许你可以试试这个:
<TextBlock Text="Sample Text">
<TextBlock.RenderTransform>
<RotateTransform Angle="90"/>
</TextBlock.RenderTransform>
</TextBlock>https://stackoverflow.com/questions/22057978
复制相似问题