日期:2014-05-17 浏览次数:21077 次
<Window x:Class="_28_2_3_创建简单的流文档.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<FlowDocumentScrollViewer IsSelectionEnabled="False">
<!--设置是否可以选择-->
<FlowDocument>
<Section FontFamily="Palatino" Background="LightYellow">
<Paragraph>
<BlockUIContainer>
<Button x:Name="btnLogin" Content="登录"></Button>
</BlockUIContainer>
</Paragraph>
</Section>
</FlowDocument>
</FlowDocumentScrollViewer>
</Window>