【发布时间】:2013-10-01 18:43:32
【问题描述】:
我想创建一个弯曲的文本块。它有点类似于这个: http://i.stack.imgur.com/sCJuQ.gif 我如何在表情混合中做到这一点? 即使我尝试在路径列表框布局上设置文本块,它也会以垂直方式打印,而不是在路径布局上。
<FrameworkElement.Resources>
<TextBlock x:Key="TextRes" Text="world wide web"/>
</FrameworkElement.Resources>
<mec:PathListBox ItemsSource="{Binding Text, Source={StaticResource TextRes}}">
<mec:PathListBox.LayoutPaths>
<mec:LayoutPath Orientation="OrientToPath">
<mec:LayoutPath.SourceElement>
<Ellipse Height="436" Width="352" />
</mec:LayoutPath.SourceElement>
</mec:LayoutPath>
</mec:PathListBox.LayoutPaths>
</mec:PathListBox>
【问题讨论】:
标签: c# windows-phone-8 expression-blend