#248 – 在FlowDocument中创建列表(Creating a List in a FlowDocument)

2016-09-07 19:20:31来源:CSDN作者:Libby1984人点击

你可以使用ListFlowDocument 中包含列表

<FlowDocument FontFamily="Cambria" FontSize="14">    <Paragraph>Some Pixar films:</Paragraph>    <List>        <ListItem>            <Paragraph>Toy Story</Paragraph>            <Paragraph FontStyle="Italic">I can have a 2nd paragraph.</Paragraph>        </ListItem>        <ListItem>            <Paragraph>A Bug's Life</Paragraph>            </ListItem>        <ListItem>            <Paragraph>Toy Story 2</Paragraph>            </ListItem>        <ListItem>            <Paragraph>Monsters, Inc.</Paragraph>        </ListItem>    </List></FlowDocument>

效果如下


原文地址:https://wpf.2000things.com/2011/03/17/248-creating-a-list-in-a-flowdocument/



最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台