title: WPF Binding MaxDropDownHeight property to the grid row height
body: <p>I have a comboBox and I want to bind dynamically the MaxDropDownHeight property to the second row height.</p>
  
  <p>Here the xaml:</p>
  
  <pre><code>  &lt;Grid&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="*" /&gt;
          &lt;RowDefinition Height="6*" /&gt;
      &lt;/Grid.RowDefinitions&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="*" /&gt;
          &lt;ColumnDefinition Width="*" /&gt;
      &lt;/Grid.ColumnDefinitions&gt;
  
      &lt;ComboBox MaxDropDownHeight=""&gt;
  
      &lt;/ComboBox&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>How can I do that?</p>