Views/DocumentView.xaml

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<UserControl x:Class="MahAppsMetro.Demo.Views.DocumentView"
             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" 
             xmlns:local="clr-namespace:MahAppsMetro.Demo.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="500">
    <Grid Background="White">
        <FlowDocumentPageViewer>
            <FlowDocument FontFamily="Arial">
                <Paragraph TextIndent="2" Background="AliceBlue">
                    The hallway smelt boiled cabbage and old rag mats.
                    <Run xml:space="preserve"> </Run>
                    <Floater FontSize="30" Background="AntiqueWhite" Width="160" FontStyle="Italic" Foreground="Green" Padding="5" Margin="5,10,15,10" HorizontalAlignment="Left">
                        <Paragraph>Far across distance</Paragraph>
                    </Floater>
                    At one end of it a coloured poster,too large for indoor display...
                </Paragraph>
                <Paragraph xml:space="preserve">引入xml:space="preserve"可以保留空    白  字 符  </Paragraph>
                <BlockUIContainer>
                    <Button Content="BlockUIContainer" ToolTip="BlockUIContainer 可以嵌入继承自UIElement的非内容元素" />
                </BlockUIContainer>
                <Section Background="AliceBlue">
                    <Paragraph>Section</Paragraph>
                    <Paragraph>That is how i know you go on.</Paragraph>
                </Section>
                <Table>
                    <TableRowGroup>
                        <TableRow>
                            <TableCell>
                                <Paragraph>序号</Paragraph>
                            </TableCell>
                            <TableCell>
                                <Paragraph>名称</Paragraph></TableCell>
                        </TableRow>
                        <TableRow>
                            <TableCell>
                                <Paragraph>1</Paragraph>
                            </TableCell>
                            <TableCell>
                                <Paragraph>UE4简介</Paragraph>
                            </TableCell>
                        </TableRow>
                        <TableRow>
                            <TableCell>
                                <Paragraph>2</Paragraph>
                            </TableCell>
                            <TableCell>
                                <Paragraph>关卡介绍</Paragraph>
                            </TableCell>
                        </TableRow>
                        <TableRow>
                            <TableCell>
                                <Paragraph>3</Paragraph>
                            </TableCell>
                            <TableCell>
                                <Paragraph>编辑器介绍</Paragraph>
                            </TableCell>
                        </TableRow>
后面还有 55 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。