<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

<!-- Example 14-39. Positioning a hosted element with BaselineAlignment -->

<TextBlock TextWrapping="Wrap">
  Text with a
  <InlineUIContainer BaselineAlignment="Center">
    <Button Content="Control" />
  </InlineUIContainer>
  in the middle.
</TextBlock>

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

</Page>
