<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>
  <Paragraph>
    This paragraph contains a 'floater'. It is the table you can see to
    the right.


    <!-- Example 14-49. Specifying figure widths in ‘columns’ units -->

    <Figure HorizontalAnchor="ContentLeft" VerticalAnchor="ContentTop"
            Width="2 columns">
      <Table BorderThickness="1" BorderBrush="Black">
        <Table.Columns>
          <TableColumn Width="25" />
          <TableColumn />
        </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell><Paragraph>&#x2665;</Paragraph></TableCell>
            <TableCell><Paragraph>Raspberry</Paragraph></TableCell>
          </TableRow>
          <TableRow>
            <TableCell><Paragraph>&#x2665;</Paragraph></TableCell>
            <TableCell><Paragraph>Vanilla</Paragraph></TableCell>
          </TableRow>
          <TableRow>
            <TableCell ColumnSpan="2">
              <Paragraph TextAlignment="Center" FontStyle="Italic"
                         Margin="0,5,0,0">
                Example ice cream flavours
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
      </Table>
    </Figure>

    <!-- End of Example 14-49. -->


    This table is anchored to this paragraph because the Floater element
    appears inside of this paragraph.
  </Paragraph>
  <Paragraph>
    This second paragraph also flows around the Floater because the table
    is tall enough to span two paragraphs.
  </Paragraph>
  <Paragraph>
    This is some more text, so that we have enough to see what's going
    on in this example. Its main purpose is to give the third column
    something to do. It needs to go on a bit, because there's quite a
    lot of space to fill. There's nothing to see here. Please move along.
  </Paragraph>
</FlowDocument>
</FlowDocumentPageViewer>

</Page>
