Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Put Paragraph to a ListItem

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Center" VerticalAlignment="Center"> <FlowDocumentPageViewer>   <FlowDocument>         <List>           <ListItem>             <Paragraph>               This is an item.              </Paragraph>           </ListItem>           <ListItem>             <Paragraph>               This is the first.             </Paragraph>             <Paragraph>               This is the second.             </Paragraph>           </ListItem>         </List>   </FlowDocument> </FlowDocumentPageViewer> </Page>