#248 – Creating a List in a FlowDocument
March 17, 2011 Leave a comment
You can include lists of items in a FlowDocument using the List block.
<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>