title: UWP x:bind issue - Invalid binding path 'dpl' : Property 'dpl' not found on type 'DataTemplate'
body: <p>I have a class <code>PricingData</code> and <code>PricingSchedule</code>.  Where <code>PricingSchedule</code> is a List&lt;> inside <code>PricingData</code> class. I want to bind data of this class to UWP controls. </p>
  
  <p>Sample code is available to download here : <a href="https://github.com/jigneshdesai/SampleOfBindingIssue1.git" rel="nofollow noreferrer">https://github.com/jigneshdesai/SampleOfBindingIssue1.git</a></p>
  
  <p><strong>How Code looks:</strong>  i have a start page(mainpage) that hosts ListView control, Listview has PricingUserControl within it. PricingUserControl looks like this</p>
  
  <pre><code>&lt;TextBlock x:Name="lblPriceHeader" Text="{Binding PricingTitle}" Margin="0,0,50,0" /&gt;
              &lt;ComboBox  x:Name="cbPriceValueList" ItemsSource="{x:Bind dpl}" DisplayMemberPath="PriceValue" SelectedValuePath="PriceValue"  SelectedValue="{Binding DisplayPricing}"   /&gt;
  
              &lt;ListView x:Name="lbPriceChangeSchedule" ItemsSource="{Binding PricingScheduleList}"&gt;
                  &lt;ListView.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;StackPanel&gt;
                              &lt;StackPanel Orientation="Horizontal"&gt;
                                  &lt;ComboBox  x:Name="cbSchedulePriceValueList"  ItemsSource="{x:Bind dpl}" DisplayMemberPath="PriceValue" SelectedValuePath="PriceValue"  /&gt;
  
                                  &lt;TextBlock Text="{Binding SchedulePricingTimeZone }" /&gt;
                              &lt;/StackPanel&gt;
                          &lt;/StackPanel&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ListView.ItemTemplate&gt;
              &lt;/ListView&gt;
  </code></pre>
  
  <p><strong>What i want to achieve</strong>: Combobox should populate a list of values (eg. 1USD, 2USD, 3USD etc.). Then when you provide List of records from database,  the listbox will repeat PricingUserControl  and combobox within it should set its value property (SelectedValue) as per record. </p>
  
  <p><strong><em>Issue</em></strong>: 
  ComboBox  x:Name="cbPriceValueList" uses <strong>x:bind dpl</strong> where dpl is a local variable of PricingUserControl. It populates the list properly.  The trouble is ComboBox  x:Name="cbSchedulePriceValueList" it also has  <strong>x:bind dpl</strong>  but during compilation it display error <strong><em>"Invalid binding path 'dpl' : Property 'dpl' not found on type 'DataTemplate'."</em></strong></p>
  
  <p>I am wondering why x:bind dpl does not work at this point. ?</p>