谁能解释一下我为什么下面的代码不起作用
<UserControl x:Class="FlowDocReader.FlowDocumentScrollViewerIssues"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<FlowDocumentScrollViewer FontSize="56">
<FlowDocument>
<Paragraph>
this text should be FontSize 56
</Paragraph>
</FlowDocument>
</FlowDocumentScrollViewer>
</UserControl>
如您所见,FontSize
不是 56,我不知道出了什么问题