title: Updating UWP binding programmatically
body: <p>I've got an issue where if an item is selected in a list I want it to update my items in my grid. The binding is done by:</p>
  
  <pre><code>&lt;ScrollViewer Grid.Row="1"&gt;
                  &lt;ItemsControl x:Name="RightGridItemsControl" ItemsSource="{Binding News}" ItemTemplate="{StaticResource RightGridTemplate}"/&gt;
  &lt;/ScrollViewer&gt;
  </code></pre>
  
  <p>When an item, e.g. Planet is selected, I want to update the ItemsSource binding to a new list. This is specified in my DataModel.</p>
  
  <p>How can I update this programmatically? I've tried something like this, but it requires a <code>DependencyObject</code> and can't find out what it means. This also looks like WPF rather than UWP.</p>
  
  <pre><code>`var myBinding = new Binding
                      {
                          Source = Planets,
                          Mode = BindingMode.OneWay,
                          UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged
                      };
                      BindingOperations.SetBinding(new , ItemsControl.ItemsSourceProperty, myBinding);`
  </code></pre>
  
  <p>What should I put as the first item for the contstructor for <code>'SetBinding'</code>?</p>