<Window x:Class="CustomControlExample.HostUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:CustomControlExample"
    Title="CustomControlExample" Height="300" Width="300"
    >
    <Grid>
      <!-- Example 18-29. Using a user control -->
      
      <local:CustomElement />

      <!-- End of Example 18-29 -->
    </Grid>
</Window>
