title: Cannot set multibinding because multivalue converter must be specified wpf
body: <p>Ok, I have got into below way after following these 2 posts [<strong><a href="https://stackoverflow.com/questions/19510196/multibinding-generates-cannot-set-multibinding-because-multivalueconverter-must"><code>Post 1</code></a></strong>, <strong><a href="https://stackoverflow.com/questions/31424364/cannot-set-multibinding-because-multivalueconverter-must-be-specified-wpf"><code>Post 2</code></a></strong>] regarding the question. But this issue is blowing my heads out even after following right ways of implemeting.</p>
  
  <p>So here is my converter which is added in <code>ViewModels</code> directory of project:</p>
  
  <pre><code>public class ChangePasswordConverter : IMultiValueConverter
  {
      public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
      {
          return ....
      }
  
      public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
      {
          throw new NotImplementedException();
      }
  }
  </code></pre>
  
  <p>Now below is my <code>HomeWindow.xaml</code></p>
  
  <pre><code>&lt;Controls:MetroWindow x:Class="KEOffice.Views.HomeWindow"
      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"
      xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
      xmlns:v="clr-namespace:KEOffice.Views"
      xmlns:vm="clr-namespace:KEOffice.ViewModels"
      xmlns:prism="http://prismlibrary.com/"
      prism:ViewModelLocator.AutoWireViewModel="True"&gt;
  
      &lt;Window.Resources&gt;
          &lt;vm:ChangePasswordConverter x:Key="ChangePasswordConverter" /&gt;
      &lt;/Window.Resources&gt;
      &lt;!--But when I try to do this--&gt;
      &lt;Button Command="{Binding ChangePassword.UpdatePassword}"&gt;
             &lt;Button.CommandParameter&gt;
                 &lt;MultiBinding ConverterParameter="{StaticResource ChangePasswordConverter}"&gt;
                     &lt;Binding Path="OldPass" ElementName="OldPass"/&gt;
                     &lt;Binding Path="NewPass" ElementName="NewPass"/&gt;
                     &lt;Binding Path="ConfirmPass" ElementName="ConfirmPass"/&gt;
                 &lt;/MultiBinding&gt;
            &lt;/Button.CommandParameter&gt;
      &lt;/Button&gt;
  &lt;/Controls:MetroWindow&gt;
  </code></pre>
  
  <p>Even though I have given proper reference to <code>viewmodels</code>, where converter exists and Specified valid <code>StaticResource</code> it throws <code>Cannot set multibinding because multivalue converter must be specified</code>. I have also done rebuild, clean-rebuild etc., but still the same issue. What else I need to take care to make this work properly?</p>