title: Avalonia - using the in-built Avalonia.Data.Converters
body: <p>I am trying to use the <code>BoolConverters.And</code> converter, but cannot seem to find a way to get it working inside XAML.</p>
  
  <p><strong>Xmlns declaration:</strong></p>
  
  <pre><code>xmlns:acon="clr-namespace:Avalonia.Data.Converters.BoolConverters;assembly=Avalonia.Base"
  </code></pre>
  
  <p><strong>Resources:</strong></p>
  
  <pre><code>&lt;UserControl.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;acon:And x:Key="andConverter"/&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/UserControl.Resources&gt;
  </code></pre>
  
  <p><strong>The binding:</strong> (I hope I got the multi-value syntax right)</p>
  
  <pre><code>&lt;StackPanel.IsVisible&gt;
      &lt;MultiBinding Converter="{DynamicResource andConverter}"&gt;
          &lt;MultiBinding.Bindings&gt;
              &lt;Binding Path="Foo"/&gt;
              &lt;Binding Path="Bar"/&gt;
          &lt;/MultiBinding.Bindings&gt;
      &lt;/MultiBinding&gt;
  &lt;/StackPanel.IsVisible&gt;
  </code></pre>
  
  <p>What am I missing here?</p>