title: How to add one window into another window?
body: <p>here i am want to add accountview.xaml to the accountlistview.xaml .i am try many option but i can not do it.
  here accountlistview.xaml contain grid and accountview.xaml contain textbox.the code fo accountlistview.xaml</p>
  
  <pre><code>&lt;UserControl x:Class="MyBooks.View.accountListView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:vw="clr-namespace:MyBooks.View"
  xmlns:uic="clr-namespace:UIControls;assembly=UIControls"
  xmlns:wpftoolkit="http://schemas.microsoft.com/wpf/2008/toolkit"&gt;
  
  &lt;UserControl.Resources&gt;
      &lt;ResourceDictionary Source="ViewResources.xaml" /&gt;
  &lt;/UserControl.Resources&gt;
  
  &lt;Grid&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="Auto"/&gt;
          &lt;RowDefinition Height="*"/&gt;
      &lt;/Grid.RowDefinitions&gt;
  
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition  Width="*"/&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;&lt;wpftoolkit:DataGrid Grid.Row="1"
                           ItemsSource="{Binding Payments}"
                           SelectedItem="{Binding SelectedPayment, Mode=TwoWay}"
                           AutoGenerateColumns="False"
                           SelectionMode="Single"
                           IsReadOnly="True"&gt;
          &lt;wpftoolkit:DataGrid.Columns&gt;
              &lt;wpftoolkit:DataGridTextColumn
                  Header="{Resx ResxName=MyBooks.Properties.Strings, Key=Journal_Date_Label}"
                  Binding="{Binding Date}"/&gt;
              &lt;wpftoolkit:DataGridTextColumn
                  Header="{Resx ResxName=MyBooks.Properties.Strings, Key=Journal_CreditedParty_Label}"
                  Binding="{Binding CreditedAccount.Name}"/&gt;
              &lt;wpftoolkit:DataGridTextColumn
                  Header="{Resx ResxName=MyBooks.Properties.Strings, Key=Journal_Narration_Label}"
                  Binding="{Binding Narration}"/&gt;
          &lt;/wpftoolkit:DataGrid.Columns&gt;
      &lt;/wpftoolkit:DataGrid&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <p>how to add accountview.xaml in this window?</p>