title: MVVM WPF empty user control
body: <p>I'm facing some problem trying to implement a loading spinner from here: <a href="https://github.com/blackspikeltd/Xaml-Spinners-WPF" rel="nofollow">https://github.com/blackspikeltd/Xaml-Spinners-WPF</a></p>
  
  <p>My MainWindow is simply a wrapper where I load different user control controlled by a button:</p>
  
  <pre><code>&lt;Window x:Class="Project.Desktop.Views.MainWindow"
      xmlns:animations="clr-namespace:Project.Desktop.Helpers.Animations"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      mc:Ignorable="d"
      xmlns:views="clr-namespace:Project.Desktop.Views"
      xmlns:viewModels="clr-namespace:Project.Desktop.ViewModels"
      Title="Project" Height="580" Width="1024" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None" MouseLeftButtonDown="OnMouseLeftButtonDownMove"&gt;
  
      &lt;Window.Resources&gt;
          &lt;DataTemplate DataType="{x:Type viewModels:WelcomeVM}"&gt;
              &lt;views:Welcome /&gt;
          &lt;/DataTemplate&gt;
          &lt;DataTemplate DataType="{x:Type viewModels:GameSelectVM}"&gt;
              &lt;views:GameSelect /&gt;
          &lt;/DataTemplate&gt;
      &lt;/Window.Resources&gt;
  
  
      &lt;Grid&gt;
         &lt;ContentControl Content="{Binding CurrentPageViewModel}" /&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>I copied the xml into a user control view which i created in my project and referenced like this:</p>
  
  <pre><code>xmlns:animations="clr-namespace:Project.Desktop.Helpers.Animations"
  </code></pre>
  
  <p>and then i tried to access user control with</p>
  
  <pre><code>&lt;animations:LoadingAnimation HorizontalAlignment="Center" VerticalAlignment="Center" /&gt;
  </code></pre>
  
  <p>The problem is that i cannot see the loading spinner, it's like doesn't exist, i believe there's a conflict between other user control but i'm not able to fix it, mostly because i'm new to wpf and xml.</p>
  
  <p>Thanks.</p>