title: NotifyPropertyChanged in User Control
body: <p>I am new to WPF, I've a user control in my application which is having a Dependency Property of type List.</p>
  
  <p>In my window, I put that user control and bind this DP to the property of my view's List.</p>
  
  <p>Eventually the property changes, so as the collection but it does not reflect on the user control.</p>
  
  <p>My view implements INotifyPropertyChanged interface.  </p>
  
  <p>DP of my user control does not raise event of property changed.</p>
  
  <p>What could be the possible reason for that?</p>
  
  <p>Code of my dependency property in my user control</p>
  
  <pre><code>  public List&lt;ItemsResult&gt; ItemsCollection
      {
          get { return (List&lt;ItemsResult&gt;)GetValue(ItemsCollectionProperty); }
          set { SetValue(ItemsCollectionProperty, value); }
      }
  
      public static readonly DependencyProperty ItemsCollectionProperty =
          DependencyProperty.Register("ItemsCollection", typeof(List&lt;ItemsResult&gt;), typeof(ListingUserControl)
                                      , new FrameworkPropertyMetadata(null, ItemsCollectionChanged));
  
      private static void ItemsCollectionChanged(DependencyObject obj, DependencyPropertyChangedEventArgs eventArgs)
      {
          var listingUserControl = (obj as ListingUserControl);
          var itemsResult = (eventArgs.NewValue as List&lt;ItemsResult&gt;);
          if (listingUserControl != null &amp;&amp; itemsResult != null)
              listingUserControl.CountLabelVisible = itemsResult.Count &gt; 0;
      }
  </code></pre>
  
  <p>Binding in my view</p>
  
  <pre><code> &lt;my:ListingUserControl ItemsCollection="{Binding Clients}" Title="Client" /&gt;
  </code></pre>