title: Can SwapChainBackgroundPanel be added as a sub control?
body: <p>I created a sample app with mono wizard "MonoGame Windows Store(XAML) Project".</p>
  
  <p>it created page GamePage.xaml</p>
  
  <pre><code>&lt;SwapChainBackgroundPanel
      x:Class="Mono.GamePage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="using:Mono"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      mc:Ignorable="d"&gt;
  
      &lt;Grid&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="*"/&gt;
              &lt;ColumnDefinition Width="200"/&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  
          &lt;StackPanel Grid.Column="1" Background="LightGray"&gt;
              &lt;Button Content="Stop" x:Name="btnStartStop" Click="btnStartStop_Click"/&gt;
          &lt;/StackPanel&gt;
      &lt;/Grid&gt;
  
  &lt;/SwapChainBackgroundPanel&gt;
  </code></pre>
  
  <p>However, I want to add this SwapChainBackgroundPanel into another xaml page (example BlankPage.xaml).</p>
  
  <p>But, when I run the app. it report an exception
  WinRT information: Cannot add instance of type 'GamePage' to a collection of type 'Windows.UI.Xaml.Controls.UIElementCollection'. </p>
  
  <p>So, Can anyone tell me what's wrong with this? and How can I do this? I want to add SwapChainBackgroundPanel as a sub control of other page.</p>