title: How to boolean && two visibility converters
body: <p>I have two separate converters for visibility, one based on whether a field has been updated and one based on whether a field is allowed to be seen.  I use the updatedField one for each text item on my page so that a star shows up next to an updated field.  But some text items only are visible to some users based on permission levels.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;Image Visibility="{Binding ElementName=MyObject, Path=UpdatedFields, Mode=OneWay, Converter={StaticResource updatedFieldConverter}, ConverterParameter=FieldToTest}" Source="Properties:Resources.star_yellow" /&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>&lt;TextBlock FontSize="21" Foreground="{DynamicResource LabelBrush}" Text="{x:Static Properties:Resources.Some_Text}" Visibility="{Binding Source={StaticResource allowedFields}, Path=Some_Text_Field, Converter={StaticResource visibilityConverter}}" /&gt;
  </code></pre>
  
  <p>My problem is that for the case of the permission-required fields I need to run both converters to determine if the star shows up.  Is there a way to do a boolean "And" on the results of two converters?</p>
  
  <p>I looked at <a href="https://stackoverflow.com/questions/1594357/wpf-how-to-use-2-converters-in-1-binding">this post</a> but it doesn't seem to allow for different sets of parameters to be passed into to the two different converters.</p>
  
  <p>-------Update--------</p>
  
  <p>I also tried to create a MultiValueConverter with this xaml</p>
  
  <pre><code>&lt;Image Grid.Row="4" Grid.Column="0" Source="star_yellow.png"&gt;
     &lt;Image.Visibility&gt;
        &lt;MultiBinding Converter="{StaticResource combinedVisibilityConverter}" ConverterParameter="FieldToTest" &gt;
           &lt;Binding ElementName="allowedFieldsModel" Path="Some_Text_Field" Mode="OneWay" /&gt;                        
           &lt;Binding ElementName="MyObject" Path="UpdatedFields" Mode="OneWay" /&gt;
        &lt;/MultiBinding&gt;
     &lt;/Image.Visibility&gt;
  &lt;/Image&gt;
  </code></pre>
  
  <p>But when it enters the converter both values are "DependencyProperty.UnsetValue".  So I'm apparently doing something wrong here.</p>
  
  <p>--------Solution---------</p>
  
  <p>I had to modify to this, but then it worked.</p>
  
  <pre><code>&lt;Image.Visibility&gt;
      &lt;MultiBinding Converter="{StaticResource combinedVisibilityConverter}" ConverterParameter="FieldToTest"&gt;
          &lt;Binding Source="{StaticResource allowedFieldsModel}" Path="Some_Text_Field" /&gt;
          &lt;Binding Path="MyObject.UpdatedFields" /&gt;
      &lt;/MultiBinding&gt;
  &lt;/Image.Visibility&gt;
  </code></pre>