Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

TableCell and TableRow and TableRowGroup

<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>     <Table CellSpacing="6">       <TableRowGroup FontWeight="Bold">         <TableRow FontSize="24">           <TableCell ColumnSpan="3" TextAlignment="Center" >             <Paragraph>Ice Cream</Paragraph>           </TableCell>         </TableRow>         <TableRow FontSize="18" Background="LightGray">           <TableCell><Paragraph>A</Paragraph></TableCell>           <TableCell><Paragraph>D</Paragraph></TableCell>           <TableCell><Paragraph>C</Paragraph></TableCell>         </TableRow>       </TableRowGroup>       <TableRowGroup>         <TableRow>           <TableCell><Paragraph>A</Paragraph></TableCell>         </TableRow>         <TableRow>           <TableCell><Paragraph>B</Paragraph></TableCell>         </TableRow>         <TableRow>           <TableCell><Paragraph>C</Paragraph></TableCell>         </TableRow>       </TableRowGroup>     </Table>   </FlowDocument> </FlowDocumentPageViewer> </Page>