title: UWP: Binding not working for Master detail layout having UserControl in DetailContentpresenter
body: <p>I have MasterDetailPage layout.for DetailContent I have contentpresenter in my page, I am loading usercontrol in that contentpresenter.</p>
  
  <p>Usercontrol is having some header fields, command bar, and ListView and GridView. </p>
  
  <p>In Master section I am loading some list and displaying the details of selected item in details header section, also based on the selected value I am loading other lists and displaying in listview and gridview.</p>
  
  <p>I have bind the object to contentpresenter's content property. object class looks like below    </p>
  
  <pre><code>SampleClass 
  {
  class1 header {get; set;}
  Observablecollection&lt;class2&gt; listviewitems {get; set;}
  Observablecollection&lt;class3&gt; gridviewitems {get; set;}
  }
  </code></pre>
  
  <p>In my code behind i am loading the data like this,</p>
  
  <pre><code>SampleClass objMain = new SampleClass();
  objMain.header  =  await viewmodel.Getheader();
  objMain.listviewitems = await viewmodel.GroupUsersList(objMain.header.groupid);
  objMain.gridviewitems  = await viewmodel.GetChatList(objMain.header.groupid);
  </code></pre>
  
  <p>Binding the above object to content presenter</p>
  
  <pre><code>&lt;ContentPresenter x:Name="DetailContentPresenter" Grid.Column="1" Grid.RowSpan="2" Content="{x:Bind objMain ,Mode=OneWay}"&gt;
  </code></pre>
  
  <p>I am binding this data in UserControl like below, I have stackpanel in usercontrol in which I am binding header data.</p>
  
  <pre><code>&lt;StackPanel&gt;
  &lt;TextBlock Name="txtGroupName" Text="{Binding header.name}"/&gt;
  &lt;TextBlock Name="txtGroupType" Text="{Binding header.ptype}" /&gt;
  &lt;TextBlock Name="txtGroupDate" Style="{ThemeResource smallText}"&gt;
  &lt;Run&gt;Created on:&lt;/Run&gt;
  &lt;Run Text="{Binding header.startdate}"&gt;&lt;/Run&gt;
  &lt;/TextBlock&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>I have one gridview and listview in which i am binding listviewitems and gridviewitems like below.</p>
  
  <pre><code>&lt;GridView  x:Name="GroupMemberGridView"
                      ItemsSource="{Binding listviewitems}"
                             ItemTemplate="{StaticResource groupMemberGridViewTemplate}"
                             Grid.Row="3"
                             ItemClick="GridView_ItemClick"
                             IsItemClickEnabled="True"
                             Margin="5 0 0 0"&gt;
  &lt;ListView x:Name="GroupMemberListView" 
                      ItemTemplate="{StaticResource groupMemberListViewTemplate}"
                          ItemsSource="{Binding gridviewitems}"
                          ShowsScrollingPlaceholders="True"
                          Grid.Row="3"                                                  
                          ItemClick="ListView_ItemClick"
                          IsItemClickEnabled="True"&gt;
  </code></pre>
  
  <p>Now issue here is when i am using {x:bind objMain} to bind to the content of content presenter it is loading usercontrol with no data, however the object which i have bound to content presenter is having data.</p>
  
  <p>One more observation that I found is when I am using {Binding objMain} for contentpresenter's Content property it is loading data initially but when I click on MasterList Item it is not updating data. However I am assigning the changed value to ContentPresenter's Content property when Master list item is clicked.but when the same page reload after i navigate to some other page and comeback ,it is displaying the data which was changed</p>