【发布时间】:2017-07-27 05:41:28
【问题描述】:
我在 Xamarin C# 中有以下代码,我希望将以下代码中的 RichTextBlockOverflow 链接到其上方的 RichTextBlock 以便显示溢出的内容。我正在尝试使用它来创建水平分页,所以如果我的方向正确,请告诉我。谢谢:)
XAML:
<StackPanel Height="{Binding ActualHeight, ElementName=grid}"
Width="{Binding ActualWidth, ElementName=grid}"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<RichTextBlock Height="{Binding ActualHeight, ElementName=grid}"
MaxHeight="{Binding MaxHeight, ElementName=grid}"
Name="TextBlock"
local:HtmlToRtfConverter.Html="{Binding Html}" />
<RichTextBlockOverflow Name="RichBlockOverflow" />
</StackPanel>
【问题讨论】:
标签: xaml xamarin windows-phone-7 windows-phone-8